Skip to:
Content

BuddyPress.org

Changeset 3588


Ignore:
Timestamp:
12/27/2010 05:36:54 PM (15 years ago)
Author:
djpaul
Message:

Correct display size of custom header graphic in the theme's options. Fixes #2972.

File:
1 edited

Legend:

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

    r3575 r3588  
    7070    // Add a filter to bp_dtheme_header_image_width and bp_dtheme_header_image_height to change these values.
    7171    define( 'HEADER_IMAGE_WIDTH', apply_filters( 'bp_dtheme_header_image_width', 1250 ) );
    72     define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'bp_dtheme_header_image_height', 100 ) );
    73 
    74     // We'll be using post thumbnails for custom header images on posts and pages. We want them to be 1250 pixels wide by 100 pixels tall.
     72    define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'bp_dtheme_header_image_height', 125 ) );
     73
     74    // 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.
    7575    // Larger images will be auto-cropped to fit, smaller ones will be ignored.
    7676    set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
     
    158158            -webkit-border-bottom-right-radius: 6px;
    159159            margin-bottom: 20px;
    160             height: 100px;
    161             padding-top: 25px;
     160            height: 125px;
    162161        }
    163162
Note: See TracChangeset for help on using the changeset viewer.