Location of Menu in Lifestyle Theme

Community Forums Forums Design Tips and Tricks Location of Menu in Lifestyle Theme

This topic is: resolved

Tagged: ,

This topic contains 12 replies, has 4 voices, and was last updated by  samw 1 year, 6 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #19292

    Carolyn
    Participant
    Post count: 35

    Is it possible to change the location of the menu in the Lifestyle them to below the header?

    #19306

    Susan
    Moderator
    Post count: 8681

    Per the snippet here:http://my.studiopress.com/snippets/navigation-menus/add this to your functions.php

    [php]

    /** Reposition the primary navigation menu */
    remove_action( ‘genesis_before_header’, ‘genesis_do_nav’ );
    add_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
    [/php]


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #19444

    Carolyn
    Participant
    Post count: 35

    Thanks Susan, I searched but obviously not that well!

    #19447

    Susan
    Moderator
    Post count: 8681

    No problem. :)


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #19546

    samw
    Participant
    Post count: 55

    Hi

    Great post..I have a similar issue. Using a custom header image my menu is now in the wrong place.  I put the code into the functions file for the theme, but now I see it outputs the text for the code! I am new to this. Where exactly does the code snippet need to inserted in the functions.php file. I guess I am missing something here – Thanks in Advance

    This is the extract from my php with the code

    /** Add support for custom header */
    add_theme_support( ‘genesis-custom-header’, array( ‘width’ => 920, ‘height’ => 150 ) );

    /** Reposition the primary navigation menu */
    remove_action( ‘genesis_before_header’, ‘genesis_do_nav’ );
    add_action( ‘genesis_after_header’, ‘genesis_do_nav’ );


    SEO & Online Marketing Consultant

    Metta3 | G+ | LinkedIn

    #19580

    Susan
    Moderator
    Post count: 8681

    @samw – the php code can go anywhere in your functions.php file after the opening statement, but I usually add new snippets to the bottom of my php file for ease of updating.

    Can you please post a link to your site.


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #19743

    samw
    Participant
    Post count: 55

    Hi

    Thanks for replying. Im building it as dev using Desktop Server. I wonder if somehow its not reloading the code. I have changed the code position and no difference. Still have menu at top right of page. Its in the theme, functions.php file and im editing with notepad ++.  Desktop Server is pretty good, Im open to suggestions

    Thanks

     

     


    SEO & Online Marketing Consultant

    Metta3 | G+ | LinkedIn

    #19744

    samw
    Participant
    Post count: 55

    Hi

    I notice that if I only add text as the header the menu is in the correct location. The issue is when I add an image file. I do need to add an image file as a custom header. Do I need an alternate code?

    Many Thanks in Advance

     


    SEO & Online Marketing Consultant

    Metta3 | G+ | LinkedIn

    #19745

    Susan
    Moderator
    Post count: 8681

    Sam – can you please provide a link to your site?

    The code snippet you’ve used to add a custom header is correct; and the snippet for moving the header is correct, so I don’t see why there should be conflict.


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #19746

    tomarob
    Participant
    Post count: 18

    Correct me if I’m wrong, – - but isn’t lifestyle’s ‘secondary’ menu automatically below the header??

    If I’m right (and I believe I am), – - you would go to dashboard/genesis/theme settings/navigation settings/include secondary menu?

    Then, – - go to menus and set up a secondary menu only (and not a primary)

    On this site I did just recently, the top menu is my primary, the one under the header is my secondary.

    No coding involved, – - all done from the dashboard . . . http://www.chesterfieldremodeler.com

    #19747

    Susan
    Moderator
    Post count: 8681

    Tom – you are correct – the secondary menu is below the header. :)


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #19749

    Carolyn
    Participant
    Post count: 35

    Thanks Tom (and Susan)!

    #19756

    samw
    Participant
    Post count: 55

    Thanks All. Well spotted. Yes, I was using the wrong menu! :)


    SEO & Online Marketing Consultant

    Metta3 | G+ | LinkedIn

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

The topic ‘Location of Menu in Lifestyle Theme’ is closed to new replies.