I’ve been using Woothemes‘ Canvas a lot lately. One thing I’ve found myself doing often is moving the navigation bar from its default location. With a few simple lines in functions.php and a quick addition to style.css, this is a breeze.
functions.php
add_action( 'init', 'woo_custom_move_navigation', 10 ); function woo_custom_move_navigation () { // Remove main nav from the woo_header_after hook remove_action( 'woo_header_after','woo_nav', 10 ); // Add main nav to the woo_header_inside hook add_action( 'woo_header_inside','woo_nav', 10 ); } // End woo_custom_move_navigation()
style.css
#navigation { float: right; width: auto; }