• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Daily Dish Pro Header

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Daily Dish Pro Header

This topic is: resolved

Tagged: daily dish pro, header image

  • This topic has 7 replies, 3 voices, and was last updated 10 years ago by lizearle.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • September 18, 2015 at 8:44 am #165999
    Cecilia
    Member

    Hi,

    I've read on the forum on how to adjust the header image from 400x80 to a different size. I've edited the code but the template still forces me to crop the image. Please help.

    At the same time, I would like to not have the white space expand. It looks like when I adjusted the spacing it also expanded the white spacing too.

    Thanks

    http://elenicookscrete.com
    September 18, 2015 at 9:06 am #166003
    Davinder Singh Kainth
    Member

    In style.css file, change following code...

    .header-image .site-title > a {
        background-position: center !important;
        background-size: contain !important;
        display: block;
        height: 200px;
        margin: 0 auto;
        max-width: 1000px;
    }

    to...

    .header-image .site-title > a {
        background-position: center !important;
        background-size: contain !important;
        display: block;
        height: 80px;
        margin: 0 auto;
        max-width: 400px;
    }

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    September 18, 2015 at 9:08 am #166005
    Davinder Singh Kainth
    Member

    For reducing vertical white space above/below logo image.

    Look for following code...

    .site-header {
        padding: 80px 0;
        text-align: center;
    }

    change to...

    .site-header {
        padding: 20px 0;
        text-align: center;
    }

    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    September 18, 2015 at 9:14 am #166006
    Cecilia
    Member

    Thanks but that bringing me back to the original code?

    1. I would like to have a larger header.
    2. The template forces me to crop the image.

    Thanks

    September 18, 2015 at 9:17 am #166007
    Davinder Singh Kainth
    Member

    1. Open functions.php file and look for following code

    
    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    	'header-selector' => '.site-title a',
    	'header-text'     => false,
    	'height'          => 80,
    	'width'           => 400,
    ) );

    2. Change height and width dimensions for logo as per requirement.

    3. Then go to style.css file and update new height / width dimensions in the following code

    .header-image .site-title > a {
        background-position: center !important;
        background-size: contain !important;
        display: block;
        height: 80px;
        margin: 0 auto;
        max-width: 400px;
    }

    4. Upload new logo image with new size.


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    September 18, 2015 at 11:15 am #166018
    Cecilia
    Member

    You are one awesome, dude! Thank you, it worked wonderfully!

    September 18, 2015 at 11:38 am #166020
    Davinder Singh Kainth
    Member

    Welcome Cecilla 🙂


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

    November 25, 2015 at 4:22 am #171974
    lizearle
    Member

    Any idea what is the ideal size is for a full width header?

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Daily Dish Pro Header’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble