• 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

How Can I Put Content Above Header-Widget-Area?

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 › How Can I Put Content Above Header-Widget-Area?

This topic is: resolved
  • This topic has 5 replies, 2 voices, and was last updated 11 years, 4 months ago by KenTheriot.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • January 14, 2014 at 12:04 pm #85176
    KenTheriot
    Member

    How can I put content (specifically looking to put a "utilities" menu for things like Log-In/Out and Site Search) above the dark rectangular strip on which is shown the title-area and Genesis nav menu (not sure what to call that header bar thingy)?

    Here is an example of a site that has content above the nav bar. Though he has more information up there than just a menu. I'd also love to know how to do that though. Maybe they are the same solution?

    I use Eleven40-Pro. My site is: http://www.homebrewaudio.com/

    Thanks!

    Ken

    http://www.homebrewaudio.com/
    January 14, 2014 at 7:32 pm #85243
    nutsandbolts
    Member

    This tutorial should help you: http://www.carriedils.com/widget-area-above-header-genesis/


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    January 14, 2014 at 7:50 pm #85252
    KenTheriot
    Member

    Thanks Andrea! I'm looking now. I love the graphic on the post:).

    Ken

    January 14, 2014 at 9:25 pm #85263
    KenTheriot
    Member

    I implemented the code in that tutorial. But when I put test text ("text") into the "Right Utility Bar," it sows up on the left side. Same with the Left Utility Bar (so that one works correctly). I don't suppose you know why that would be? Here are the two bits of code:

    /** Register Utility Bar Widget Areas. */
    
    genesis_register_sidebar( array(
    'id' => 'utility-bar-left',
    'name' => __( 'Utility Bar Left', 'theme-prefix' ),
    'description' => __( 'This is the left utility bar above the header.', 'theme-prefix' ),
    ) );
    
    genesis_register_sidebar( array(
    'id' => 'utility-bar-right',
    'name' => __( 'Utility Bar Right', 'theme-prefix' ),
    'description' => __( 'This is the right utility bar above the header.', 'theme-prefix' ),
    ) );

    Then

    add_action( 'genesis_before_header', 'utility_bar' );
    /**
    * Add utility bar above header.
    *
    * @author Carrie Dils
    * @copyright Copyright (c) 2013, Carrie Dils
    * @license GPL-2.0+
    */
    function utility_bar() {
    echo '<div class="utility-bar"><div class="wrap">';
    genesis_widget_area( 'utility-bar-left', array(
    'before' => '<div class="utility-bar-left">',
    'after' => '</div>',
    ) );
    genesis_widget_area( 'utility-bar-right', array(
    'before' => '<div class="utility-bar-right">',
    'after' => '</div>',
    ) );
    echo '</div></div>';
    }

    Thanks.

    Ken

    January 14, 2014 at 9:28 pm #85266
    nutsandbolts
    Member

    Did you put in CSS to float the divs to the left and right like Carrie mentions at the end of the tutorial?


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    January 14, 2014 at 11:35 pm #85285
    KenTheriot
    Member

    That was it, Andrea. Yes. Thanks!

    Ken

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How Can I Put Content Above Header-Widget-Area?’ 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