• 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 to make width line up with site inner for nav primary?

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 › How to make width line up with site inner for nav primary?

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 10 years, 1 month ago by sethbahookey.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 30, 2015 at 11:49 am #149638
    sethbahookey
    Member

    Hello,

    I'm using the genesis sample theme and instead of having nav-primary going full width. I'd like it to have a left/right margin like the site-inner class does. How would I change this?

    http://localhost
    April 30, 2015 at 3:29 pm #149666
    Ben @ Inbound Creative
    Member

    We can't see the page.

    However, you can take advantage of the benefits of Genesis and simple unhook and rehook the primary navigation within the site-inner div.

    Navigation Menus

    The very first code example shows you how to do just that.

    On line six of the example, you'll want to change the genesis_before_header to genesis_loop or genesis_before_entry.


    Award winning web design in Liverpool | UK based Genesis Framework web designer and developer

    May 1, 2015 at 7:55 am #149715
    sethbahookey
    Member

    Hey Ben,

    My site is still on my local computer. So if I change the location to genesis_loop or genesis_before_entry that will place it within the .site-inner class? Do I have to give it a specific priority to make sure it lines up in the right spot? The nav menu page doesn't really explain that on Studio Press.

    Thanks

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ 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

© 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