• 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

Lifestyle Theme 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 › Lifestyle Theme Header

This topic is: not resolved

Tagged: custom, header, lifestyle

  • This topic has 13 replies, 4 voices, and was last updated 9 years, 5 months ago by Brad Dalton.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • October 12, 2013 at 3:12 pm #66446
    denissemarie
    Participant

    Hi, the new Lifestyle theme only gives you the ability to change the header with a size of 320x110 but how can I edit the entire header? I can't seem to find the size of the entire header. I want to add a custom one - not just change the image in the center.

    Also, where would I add the header in the code?

    Thank you in advance.

    http://www.artkidstic.net
    October 12, 2013 at 8:45 pm #66464
    Brad Dalton
    Participant

    You can change the size for the Custom Header uploader.

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

    You can change these values and also the values for the height and width in the CSS code under the Header section.


    Tutorials for StudioPress Themes.

    October 12, 2013 at 10:06 pm #66471
    denissemarie
    Participant

    Hi thank you for your response. I did this and changed it to 920x110 but it still shows a frame around the header I upload. I can't seem to find the size for the entire header. What is the entire width and height?

    Thanks again!

    October 13, 2013 at 4:41 am #66484
    Brad Dalton
    Participant

    Link to it please so i can inspect the code and help you.


    Tutorials for StudioPress Themes.

    October 13, 2013 at 3:54 pm #66540
    denissemarie
    Participant

    Hi the link is http://www.artkidstic.net

    October 13, 2013 at 10:13 pm #66575
    Brad Dalton
    Participant

    Please add this code at the end of your child themes style.css file:

    .site-header {
        background-color: #FFFFFF;
        overflow: hidden;
        padding: 4.8rem;
    }
    

    I found this code by inspecting the header using Firebug


    Tutorials for StudioPress Themes.

    October 14, 2013 at 4:18 am #66600
    matthewende
    Member

    Hi, I am having the same issue with the header. Trying to make it the same size as the original panel but no matter what size I try it won't work. (currently 1068x206)

    http://www.mattende.com/mattende

    October 14, 2013 at 6:42 am #66622
    Brad Dalton
    Participant

    You do need to modify the CSS code for the header to make this work because there is a fair amount of padding.

    I am in the middle of writing a tutorial on this topic and will publish it within a few hours.


    Tutorials for StudioPress Themes.

    October 14, 2013 at 8:36 am #66632
    denissemarie
    Participant

    Thank you again for your help.

    Is there any way to find out what the size is of the entire header area? Because what you are saying works but only if the background of the header is white. But if I change the background of the header to another color there is still a border. The reason this matters to me is because I am having a new header designed and the background will not be white.

    Please see screenshot where you see border even with the change you listed before:

    http://screencast.com/t/2iinSJwt61ma
    (this shows the gray border - I would like my header to cover the entire gray area)

    I think I found another section where it said a width of 1140 - is this accurate?

    Thanks again.

    October 14, 2013 at 8:53 am #66639
    Brad Dalton
    Participant

    Its not a problem and easily fixed http://wpsites.net/web-design/customize-lifestyle-pro-theme-header-image-area/

    1140px is correct.


    Tutorials for StudioPress Themes.

    October 14, 2013 at 9:08 am #66649
    denissemarie
    Participant

    Awesome! Thank you so much.

    October 14, 2013 at 4:34 pm #66718
    matthewende
    Member

    Thanks so much Brad, great tutorial!

    October 20, 2013 at 8:35 pm #67923
    dc50093
    Member

    The css changes in the tutorial are not working for me and I have a few questions. First, do we drop the code in at the very bottom of Lifestyle's style.css or do we override the pre existing rules that are found a short way up from the bottom? Either way it's not working me and there is a frame around my 1140 x 200 image. I'm building the site locally on a WAMP so I can't provide a link.

    October 20, 2013 at 10:14 pm #67934
    Brad Dalton
    Participant

    Its hard to say without inspecting your site with Firebug.

    You can change the existing CSS rules and add the code at the end of the style sheet.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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