Support » Theme: raindrops » [Theme: raindrops] full width header image

Viewing 7 replies - 1 through 7 (of 7 total)
  • Post your url for best results.

    I use faded ends that match the background when my banner image is not wide enough. The only other solution is to create you banner images wide enough to accommodate your target audience’s browser/screen size.

    Might put in a image sizing script to auto size your banner to the right width. Problem with that is the crop; you might not like its unintelligent crop.

    Google timthumb.php

    I can make it as wide as I want but when I upload it, it forces me to crop it to 950px. I don’t understand why the theme designers would allow you to adjust the page width but not the banner image width.

    Hmmm, I wonder how the theme designers are ‘forcing’ you to crop it? Do they have a cropping script running or is it cropped to pre-set WordPress media sizes?

    Have to do a little digging to figure that out. It may be you can change the size: Settings=>Media

    It may be you’ll have to dig into the theme functions and see what is going on there. Have you contacted the theme developer? – Chrome translated it for me but I didn’t see anyting pertinent.



    Forum Moderator

    I wonder how the theme designers are ‘forcing’ you to crop it?

    It will be part of the standard custom header support. The image sizes are usually defined in functions.php.

    Theme Author nobita


    Hi Ahab

    Please see functions.php line 156

            define('HEADER_IMAGE_WIDTH', 950);
            define('HEADER_IMAGE_HEIGHT', 198);

    You can customize this value.

    Another customize way

    Please see header.php line 134

     * header image
    $raindrops_header_image = get_header_image();
    if( !empty($raindrops_header_image)){ ?>
    <div id="header-image" style="background-image:url(<?php echo $raindrops_header_image; ?>);height:<?php echo HEADER_IMAGE_HEIGHT;?>px;color:#<?php echo HEADER_TEXTCOLOR;?>;"><p <?php echo $style;?>><?php bloginfo( 'description' ); ?></p></div><?php }

    You can customize this template file

    I am sorry to be poor at English.

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Theme: raindrops] full width header image’ is closed to new replies.