• 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

Can we use different headers?

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 › Can we use different headers?

This topic is: not resolved
  • This topic has 17 replies, 4 voices, and was last updated 13 years ago by AnitaC.
Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • July 16, 2013 at 10:07 am #50951
    alyssaavant
    Member

    I have Genesis and the Lifestyle theme

    I am wondering can I use a different header on several pages on this theme and if so how?

    July 16, 2013 at 10:24 am #50952
    Susan
    Moderator

    Try this plugin:

    WP Display Header

    July 16, 2013 at 10:30 am #50953
    alyssaavant
    Member

    It says your theme does not support custom headers when I try to install.

    July 16, 2013 at 10:40 am #50955
    Susan
    Moderator

    You can add support for a custom header in your functions.php file:

    ... edited to remove the code, as there is apparently an error in there, and I don't want people who are searching for a solution in the future to use this code.

    (You can change the height and width to your preferred dimensions)...

    July 16, 2013 at 11:19 am #50962
    Brad Dalton
    Participant

    Or you could use CSS code and upload your headers to your child themes images folder:

    Code tested on the Lifestyle theme.


    Tutorials for StudioPress Themes.

    July 16, 2013 at 11:21 am #50963
    alyssaavant
    Member

    I now get a server error after adding that?

    July 16, 2013 at 11:22 am #50965
    alyssaavant
    Member

    The stuff that susan said - help!

    July 16, 2013 at 11:24 am #50966
    Brad Dalton
    Participant

    The CSS code goes in your child themes style.css file not functions.php file.

    You would also need to change the post or page i.d's to your own which you can grab from the source code of your website.

    The image paths also need to be changed to the name of your images.


    Tutorials for StudioPress Themes.

    July 16, 2013 at 11:26 am #50967
    alyssaavant
    Member

    but will the CSS allow me to choose which pages the header shows up on

    July 16, 2013 at 11:27 am #50968
    Susan
    Moderator

    If your site is down because of a change made to your functions.php file, you will need to replace your functions.php file with a fresh copy on your hosting site.

    July 16, 2013 at 11:27 am #50969
    alyssaavant
    Member

    Susan,

    Even after I added the string of code to the functions file it says your theme does not support custom headers?

    July 16, 2013 at 11:42 am #50970
    alyssaavant
    Member

    Brad

    Do I add both strings? How do I put the other header on more than one page?

    July 16, 2013 at 11:44 am #50971
    AnitaC
    Keymaster

    Here is the correct code, there was a little bit missing from Susan's:

    **THE CODE IS BEING STRIPPED OUT**

    Email me on my website and I will send you a text file.


    Need help with customization or troubleshooting? Reach out to me.

    July 16, 2013 at 11:46 am #50972
    AnitaC
    Keymaster

    P.S. To Susan and Brad - I did wrap the code in PHP however it still stripped out part of the code.


    Need help with customization or troubleshooting? Reach out to me.

    July 16, 2013 at 11:57 am #50973
    Brad Dalton
    Participant

    Anita. Yeah sometimes that can happen which is why Gists are good as you can also change the code if you miss a semi colon or something.


    @alyssaavant
    I believe CSS is a better option for adding different headers.

    Yes you simply change the post or page i.d which you grab from the body class in your source code.

    Wrote a post with 15 code snippets for this exact purpose last week


    Tutorials for StudioPress Themes.

    July 16, 2013 at 12:14 pm #50976
    alyssaavant
    Member

    What would either of you charge me to help me do this?

    July 16, 2013 at 4:12 pm #51008
    Brad Dalton
    Participant

    I'd use the contact form on Susan's or Anita's website and ask for a quote.


    Tutorials for StudioPress Themes.

    July 16, 2013 at 4:58 pm #51019
    AnitaC
    Keymaster

    Alyssa, I am closing this now since we handled it offline.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Can we use different headers?’ 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

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