Skip to:
Content

BuddyPress.org

Changeset 5155


Ignore:
Timestamp:
09/18/2011 02:24:55 PM (13 years ago)
Author:
djpaul
Message:

Set HEADER_IMAGE_HEIGHT to 133px. Fixes #3588

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r5154 r5155  
    9292        // Add a filter to bp_dtheme_header_image_width and bp_dtheme_header_image_height to change these values.
    9393        define( 'HEADER_IMAGE_WIDTH',  apply_filters( 'bp_dtheme_header_image_width',  1250 ) );
    94         define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'bp_dtheme_header_image_height', 125  ) );
    95 
    96         // We'll be using post thumbnails for custom header images on posts and pages. We want them to be 1250 pixels wide by 125 pixels tall.
     94        define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'bp_dtheme_header_image_height', 133  ) );
     95
     96        // We'll be using post thumbnails for custom header images on posts and pages. We want them to be 1250 pixels wide by 133 pixels tall.
    9797        // Larger images will be auto-cropped to fit, smaller ones will be ignored.
    9898        set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
     
    228228            -webkit-border-bottom-right-radius: 6px;
    229229            margin-bottom: 20px;
    230             height: 125px;
     230            height: 133px;
    231231        }
    232232
Note: See TracChangeset for help on using the changeset viewer.