• 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

Adding a Widget Area Before Site 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 › Adding a Widget Area Before Site Header

This topic is: resolved

Tagged: Adding a Widget Area Before Site Header

  • This topic has 6 replies, 3 voices, and was last updated 10 years, 2 months ago by Johann Kratzik.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • May 12, 2015 at 10:21 pm #151963
    jbendiner
    Member

    I am developing my new site with the Parallax theme and would like to add a small menu above the header, as in my current site: http://www.technologix.ca/

    I followed the tutorial by Brian Gardner
    http://briangardner.com/add-widget-area-site-header/

    but (surprise, surprise) things are not looking as they should.
    The URL is: http://logisticsnetworkdesign.com/.

    At first glance it looks as if the code is adding the widget area below the header (white band) but if you increase the zoom enough the widget eventually 'moves' above the header.

    I am quite sure this is a styling issue, but have no clue how to fix it. Any suggestion would be welcome!

    Jerry

    http://logisticsnetworkdesign.com
    May 13, 2015 at 2:42 am #151974
    Brad Dalton
    Participant

    What happens if you use the genesis_before hook rather than genesis_before_header?


    Tutorials for StudioPress Themes.

    May 13, 2015 at 2:47 am #151975
    Johann Kratzik
    Member

    By viewing your website I noticed that the navigation is actually inside the header, not above. Is it intended like this?

    To remove the white gap, simply delete the margin-top from .parallax-home .site-inner in style.css


    Offering customization work for FREE – Read more

    May 13, 2015 at 7:30 am #151992
    jbendiner
    Member

    Brad, no change if I use the genesis-before hook ... same result.

    Johann, if you take a look at http://www.technologix.ca it will show what I am trying to accomplish. The navigation is inside the header, as I want it to be. What I am trying to do is ADD a small section ABOVE the header where I can place a widget with another menu.

    Your suggestion to remove the white gap worked. Thank you. But the problem is still there... If you look at the website now you still cant see the widget area at the top. Yet if you increase the zoom enough it will show up with the text = 'hello there' on the right side.

    I am quite sure the issue is in the style.css, but I don't know enough code to resolve it.

    May 13, 2015 at 8:13 am #151994
    Johann Kratzik
    Member

    Understood 😉

    The header with logo and navigation has position: fixed; and is overlapping the widget area. So the widget area needs position: fixed; as well.

    1) Move the .site-header down in style.css but you need to know the desired height of the widget area.
    So for example add top: 30px; to .site-header

    2) Add those rules to .before-header:

    position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 30px;

    But the height must match the "top" for .site-header


    Offering customization work for FREE – Read more

    May 13, 2015 at 8:56 am #151999
    jbendiner
    Member

    Thank you Johann.
    Your suggestions solved the problem!

    May 13, 2015 at 9:21 am #152002
    Johann Kratzik
    Member

    Good to hear! If you have no further questions, you can mark the thread "resolved" now.


    Offering customization work for FREE – Read more

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Adding a Widget Area Before Site 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