Please help with navigation hook

Community Forums Forums General Discussion Please help with navigation hook

This topic is: not resolved

Tagged: 

This topic contains 5 replies, has 3 voices, and was last updated by  DannyM 10 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #45257

    DannyM
    Participant
    Post count: 15

    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
    #45315

    anitac
    Participant
    Post count: 6488

    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.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #45402

    DannyM
    Participant
    Post count: 15

    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

    #45404

    vividvilla
    Participant
    Post count: 34

    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

    #45420

    DannyM
    Participant
    Post count: 15

    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

     

    #45653

    DannyM
    Participant
    Post count: 15

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

     

    Warm Wishes

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.