• 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

markr

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • April 10, 2013 at 8:40 pm in reply to: Dynamic Headers, Multiple Headers #34679
    markr
    Member

    No, it surely did not work. But I don't know why and wish I did. Am I not adding a class to a page and then in the style sheet specifying a background for that class? Where did I go wrong? And thanks!

    April 10, 2013 at 8:07 pm in reply to: Dynamic Headers, Multiple Headers #34671
    markr
    Member

    Thanks for weighing in, Brad. I tried adding this to my functions.php in the child theme:

    /** Added by MR for custom body classes to facilitate multiple headers */
    add_filter( 'body_class', 'add_body_class' );
    function add_body_class( $classes ) {
    if ( is_page( '544' ))
    $classes[] = 'page-id-544';
    return $classes;
    }

    and this into the stylesheet:

    .page-id-544 .header-full-width #title-area,
    .page-id-544 .header-full-width #title,
    .page-id-544 .header-full-width #title a {
    background: url(/resources/images/header-offroad-full-v1.png) no-repeat transparent;
    }

    Somewhere I must be making wrong assumptions about how a CSS works with Genesis.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)

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