Mobile menu help needed

Community Forums Forums Design Tips and Tricks Mobile menu help needed

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  cehwitham 2 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #24498


    Is it possible to place the secundary menu in the top of the primary sidebar, but this only for screens wider than 800px?
    In smaller screens I prefer the secundairy menu to show up after the header.

    I guess I need some code for this in functions.php.
    Is that right? I should love it if sombody can help me with this code snippet?

    Theme eleven40



    `/** Move secondary nav menu */
    remove_action( ‘genesis_after_header’, ‘genesis_do_subnav’ );
    add_action( ‘genesis_sidebar’, ‘genesis_do_subnav’, 1 );

    Put the above code in your functions.php file to move the secondary navigation into the primary sidebar. You can then use media queries to style it for the various browser sizes.


    Twitter: cehwitham Web:

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

You must be logged in to reply to this topic.