• 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

Please help with navigation hook

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 › Please help with navigation hook

This topic is: not resolved

Tagged: genesis

  • This topic has 5 replies, 3 voices, and was last updated 12 years, 10 months ago by DannyM.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 11, 2013 at 9:14 am #45257
    DannyM
    Member

    Hi all!

    Im am trying to move the main navigation on http://www.halohairandbeautybristol.co.uk to sit just above the footer widgets as it is now but the background image of the nav to be full width (same as the footer widgets background image) Could you please take a look as i am unable to see what is wrong, the code seems to place the hook before the closing div so it is ''trapped'' within the element. I have tried useing firebug and have tried many before and after hooks without success.

    The Theme is Fabric.

    Thank you for any help

    Warm Wishes

    Danny

     

    http://www.halohairandbeautybristol.co.uk
    June 11, 2013 at 11:52 am #45315
    AnitaC
    Keymaster

    It's wrapped inside the #Inner. You need to put it in its own DIV and wrapper. You can probably see how it's done in the Footer-Widget area.


    Need help with customization or troubleshooting? Reach out to me.

    June 12, 2013 at 12:59 am #45402
    DannyM
    Member

    Hi Anitac,

    Thanks for that, Yes it's trapped in the #inner and I don't know why, the hook I added to the functions.php i

    <code>/** Reposition the primary navigation */
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    add_action( 'genesis_after_content_sidebar_wrap', 'genesis_do_nav' );</code>

    In firebug, when I manually copy it and paste it to after the #inner (<!-- end #inner -->) line it works how it should.

    Can anyone point me to an article explaining what I need to do please? I thought placing the action "genesis_after_content_sidebar_wrap" would place it after the #inner rather than inside it, I cant find an article on studiopress explaining it, I've look through the hook references and tried all different hooks with no joy, and emailed studiopress support and was told to ask in the forums.

    anitac - is my hook correct but I need to create a div and wrap in the css, if so can you offer any pointers?

    Any help/pointers really appreciated

    Thank you

    Danny

    June 12, 2013 at 2:02 am #45404
    vividvilla
    Member

    Hi Danny,I hope this will be helpful

    http://www.carriedils.com/move-header-footer-genesis/948/

    http://www.carriedils.com/customize-genesis-move-header/

    i dont know whether this exactly solves your problem but can certainly help you.


    Vivek R – @vividvilla
    Genesis Child Theme Designer and Blogger at WPStuffs.
    For affordable Genesis Child Theme design and Customization Contact me here

    June 12, 2013 at 6:21 am #45420
    DannyM
    Member

    Hi Vivek,

    Thanks I've had a read through those articles and they seem to be along similar lines so a good reference for future.

    They do relate to what I am trying to achieve although in this case the main wrap is already full width so everything is inside it.

    I really dont understand, the action that I placed in the funtions.php is saying "put the nav after the content_sidebar_wrap - yet it places it inside it, why?

    Can anyone from studiopress take a quick look please?

     

    thanks

     

    danny

     

    June 13, 2013 at 7:49 am #45653
    DannyM
    Member

    I am still very Much struggling with this if anyone can help?

     

    Warm Wishes

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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