• 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

Conditional Header Widget Wrap?

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 › General Discussion › Conditional Header Widget Wrap?

This topic is: not resolved

Tagged: aside, conditional, front page, header, wrap

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 6 months ago by David Chu.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 12, 2013 at 1:12 am #72444
    zshornick
    Member

    Hey Everyone,

    I have a conditional body class for my front page, but have noticed that I cannot attribute that to the header widget wrap. Currently, I am trying to modify Agency Pro so that any page that isn't the front page looks like the Sixteen Nine theme.

    Here is the link to my test sites:
    Front Page - http://clients.impulsemediastudio.com/cubeensemble/
    Inner Page - http://clients.impulsemediastudio.com/cubeensemble/about/

    Everything was working great via CSS, but I cannot figure out how to use the custom body class on the generated header widget wrap.

    The CSS class for the wrap is .site-header .widget-area and the conditional body class is .frontHeader but no matter how I structure the CSS, the widget class within the "aside" is "widget-area header-widget-area"

    Does anyone have any ideas? I would GREATLY appreciate it!

    Thanks,
    Zack

    http://clients.impulsemediastudio.com/cubeensemble/
    November 12, 2013 at 10:30 am #72487
    David Chu
    Participant

    That's an attractive design you've got going there! I'm actually doing a similar scrolling fade thingie on a site I have in progress.

    I'm not absolutely sure I follow your question, but I just successfully tested a bit of code that does affect that area using your body class. I just stuck a border around it. I guess it depends on what you want to do.

    .frontHeader .widget-wrap {
        border: 1px solid #FF0000;
    }

    That affects all the widget-wraps in the header, but adding more specific commands you could just target one, such as with

    .frontHeader .widget_nav_menu .widget-wrap

    Dave


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ 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

© 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