T Joyce
asked 9 years ago

Hello,

I am wondering how I can go about moving the extra nav menu from the header and into the body of the site. I would like to move it outside the container, and to the left of the page.

If this is not possible, do you have a suggestion for how I can achieve a secondary nav that sits outside the container? The only solutions I have currently found place the nav in the header or into the body container.

I appreciate the help,

Tara

1 Answers
Jackie Lord
answered 9 years ago

Please use the following codes to display the Extra Menu anywhere on your site as you want:

 <?php wp_nav_menu( array( 'container_class' => '', 'theme_location' => 'secondary' ) ); ?>

To illustrate, in the above codes, I placed the Extra Menu below Navigation on the site. Please open theme-header.php file in the folder path /wp-content/themes/dw-page/inc/ and add the above codes at the bottom of the file (see below screenshot)

Of course, for better look, you can customize the style as you want. Please let me know if you need any further assistance.

T Joyce
replied 9 years ago

Awesome, thank you so much, Jackie!

Powered by DW Question & Answer Pro