ThemeShaper Forums » Thematic

[closed]

Moving Superfish Menu outside of the Header

(3 posts)
  • Started 3 years ago by kingsandy
  • Latest reply from kingsandy
  • This topic is resolved

Tags:

  1. Hi Guys,

    I'm afraid I have no .php experience and was wondering if someone could point me in the right direction.

    I would like to remove the menu from the #access header so I could then place it inside the #content and display it vertically. Do I need to learn a little php?

    Thanks Sandy

    Posted 3 years ago #
  2. the first part, removing #access from its current hook, you could find with a simple search of the forum:

    // Remove default Thematic access
    function remove_thematic_access() {
        remove_action('thematic_header','thematic_access',9);
    }	
    
    add_action('init','remove_thematic_access');

    the second half depends on where exactly you want to put the menu... my first thought it to add it the thematic_abovemainasides hook like so:

    add_action('thematic__abovemainasides','thematic_access');

    however, it will look like crap until you fix the CSS. if you don't like the standard way the access outputs the menu then you can write your own child_access function.

    Posted 3 years ago #
  3. Brilliant Thanks!

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.