Woothemes Canvas tip for moving the main menu

What I really need is a note book, and I would print out everything and just refer to it, but it is som uch easier to just have the web.  The problem is things keep getting moved, and one of those things that keeps getting moved is the Canvas tutorials.

I don’t mean the simple stuff, that I know how to do, and remember each time.  It is the fuction stuff, such as moving a menu around:

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()

#navigation { float: right; width: auto; }

Now, who is going to remember that?  That list line, by the way, goes into the css.  Very important.

And I wouldn’t mind it if I could bookmark the page, and refer back to it, but woo keeps redesigning their site, and so, have put all these basic things away.  Right now it is on this page, but who knows were it will be next week?  So for now, it is here on my blog. :0

2 Responses to “Woothemes Canvas tip for moving the main menu”

  • Igor Says:

    The code above does not work in canvas 5.2.0

  • Laura R. Says:

    Yes, they keep changing things, for the better, but hiding the best way to make the changes with the new code. They have a bunch of videos up, and I don’t want to wade through videos to find things. I love woo, but sheesh.

Leave a Reply