ThemeShaper Forums » Thematic


Custom Functions: Menu Position +

(9 posts)
  • Started 12 years ago by dcolumbus
  • Latest reply from vicchick
  • This topic is not resolved
  1. Hello,

    I'm trying to accomplish everything within my child theme's functions and style files without having to edit the raw code of the main theme.

    How would I move the menu above the blog title and description? In other words, the menu is the first thing that you see? Take a look at and you'll see what I mean.

    Posted 12 years ago #
  2. Hi,

    try this code in your child theme's functions.php:

    // remove the menu from its old position
    function remove_access() {
        remove_action('thematic_header', 'thematic_access', 9);
    add_action('init', 'remove_access');
    // add menu to its new position
    add_action('thematic_header', 'thematic_access', 0);


    Posted 12 years ago #
  3. Thanks a lot, Chris. Another question:

    How would I also add the search to the right of the navigation. Again, visit for reference.

    Thank you.

    Posted 12 years ago #
  4. Hi,

    Cristi released an excellent tutorial for this on his blog: Add

    Make sure that you use the priority 0 instead of 9 for his searchaccess function:



    Posted 12 years ago #
  5. shanoboy


    Where can I learn about how the priority numbers work?

    for example, in the earlier post you write a function to remove the header:
    remove_action('thematic_header', 'thematic_access', 9);
    then you re-add it with similar code but only a 0 this time instead of 9.

    How exactly does that priority numbering system work?


    Posted 12 years ago #
  6. Hi,

    the priority is a method to line up actions in a numerical order.

    Take a look here:

    It explains the order of the actions inside of thematic_Header()


    Posted 12 years ago #
  7. shanoboy

    Wow that was a quick response! Thanks so much.

    I'm working with the thematic powerblog child theme now and am working on moving my menu and category-access division around now. Hopefully that page will help me get the job done.

    Posted 12 years ago #
  8. Just ask, if you need more help :)


    Posted 12 years ago #
  9. I have a similar question... I am completely new to both Wordpress and coding. I've created a child theme and have altered some of the CSS already. But I am now realizing that I need to go deeper into the code to get the look that I want. I don't really understand how these .php files work, but I am attempting to learn. I am having difficulty styling my menu bar. I would like to move it into my "branding" box so that it falls right under my header image. I've used an image as the "blog-title a" and a white background with colored side borders for the "branding" and have left the code for the actual "header" untouched. So in my case I am considering my header image to be the "branding" and "blog title" as a unit. Any help would be greatly appreciated! I tried inserting the code snippet from above but I just got error messages... does it need to be wrapped in any opening/closing tags (did I even explain that correctly?!?). Thanks so much.

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.