Thesis Banner

Swap Thesis Navigation Menu and Header

by Chris on February 18, 2010

In the default Thesis Theme configuration, the navigation menu is at the top, and the header is right below it. However, using Thesis hooks, it’s quite easy to swap them with a couple of lines of code. Just open up the file wp-content/themes/thesis/custom/custom_functions.php on your server and add the following to the bottom of the file:

// Remove the Thesis Navigation Menu From The Top
remove_action('thesis_hook_before_header', 'thesis_nav_menu');
 
// Add the Navigation Menu after #Header div
add_action('thesis_hook_after_header', 'thesis_nav_menu');

You can see an example of how this looks on this site.

No related posts.

Leave a Comment

Previous post:

Next post: