ThemeShaper Forums » Thematic


Wht is the Nav Menu Below the #Header Tag?

(3 posts)
  • Started 10 years ago by soupking
  • Latest reply from soupking
  • This topic is resolved
  1. soupking

    I haven't moved any hooks but when I put the following in functions.php:

    ///// HEADER /////
    function hookHeaderImg()
    	?><a href="<?php bloginfo('url'); ?>">
    		<img src="" class="alignleft" alt="<?php bloginfo('name'); ?>" />
    ///// END OF HEADER /////

    This happens:

    According to

    that positiong should have the hook "thematic_belowheader".

    Can somebody tell me why this is? Im' trying to do things the right way and not hard code the header image into the header.php in the parent theme.

    Thanks in advance for any help! :)

    Posted 10 years ago #
  2. your image is still inside the #header div, so that isn't the belowheader hook. to put something in the right place in thematic_header you also need a 'priority' number- or i think as you've just demonstrated it goes last. here is another visualization:

    priorities 1, 3,5,7 and 9 are all taken, so try 2,4,6,or 8 depending on where you'd like the image to show up in the markup.

    Posted 10 years ago #
  3. soupking

    Wonderful, thanks a bunch Helga! :)

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.