Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to move Thesis Navigation bar below Header

This tutorial will guide you to place the navigation bar of the thesis that is at the top to place it below the header. for this we will use thesis_nav_menu hook to place the nav menu below header.

This is gonna be a quit simple tutorial you have to add just few lines of code in custom_functions.php.To move the navigation bar below the header just add the following code in the custom_functions.php :

//Move nav below header
remove_action('thesis_hook_before_header', 'thesis_nav_menu');
add_action('thesis_hook_after_header', 'thesis_nav_menu');

//Move nav below header remove_action('thesis_hook_before_header', 'thesis_nav_menu'); add_action('thesis_hook_after_header', 'thesis_nav_menu');

Explaination :

remove_action() at line 2 :

if you properly check the code , you will see at line 2 we are using remove_action() function to remove the nav bar from the header

add_action() at line 3 :

at line 3 you can see that we are again adding the thesis_nav_menu but the location is different now its thesis_hook_after_header.

Hope you like it and find it useful. will be waiting for your feedback.

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • Email

Related

April 4, 2011 Ritesh Sanap Thesis Customization custom_functions.php, Header, Navigation, navigation bar, Thesis, Thesis Customization

Post navigation

Previous Previous post: How to add Adsense in thesis
Next Next post: How to add Separate Nav Menu for Categories in thesis

Currently Trending

  • Windows Vista CD key
  • How to download Specific parts of YouTube videos
  • How to Increase Dropbox upload speed
  • How To Make Your Own Windows Media Player Theme
  • You might also like this Widget for blogger or Related post widget
  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • HORIZONTAL AND VERTICAL SPACING
  • List Of All 255 Keyboard All Alt Key Codes
  • Authy to Manage all your Google Authenticator accounts
  • Free Online Angry Birds game

Random Posts

Shortcut keys to Complete URL

July 27, 2008 By Ritesh Sanap Leave a Comment

Wood is Good – Blogger Template

June 16, 2010 By Ritesh Sanap Leave a Comment

Record – blogger Template

June 24, 2010 By Ritesh Sanap 1 Comment

How to get first image from post

June 15, 2011 By Ritesh Sanap Leave a Comment

100+ Best Online Games – Who Else Wants to Play ?

July 27, 2008 By Ritesh Sanap 1 Comment

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2021 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.