ThemeShaper Forums » Thematic

[closed]

Insert div before #wrapper?

(2 posts)
  • Started 3 years ago by maren.m
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. maren.m
    Member

    Hi there, I'd like to insert a div and two images before the #wrapper div - can someone point me in the right direction? At what point is the wrapper called?

    I'm also having some trouble getting the right path to my child theme for the image itself - here is my code...am I doing something wrong? It can't find the image...

    function add_logo() {
    	?><img src="<?php get_stylesheet_directory_uri()/imgs/satan_sigil_R.jpg ?>"><?php
    }
    add_action('thematic_header', 'add_logo', 1);
    Posted 3 years ago #
  2. thematic_header is the wrong hook.

    http://www.bluemandala.com/thematic/thematic-structure.html

    or

    http://visualizing.thematic4you.com

    to go before #wrapper you need to use the thematic_before hook

    function add_logo() { ?>
       <img src="<?php echo get_stylesheet_directory_uri();?>/imgs/satan_sigil_R.jpg">
    <?php }
    add_action('thematic_before', 'add_logo');
    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.