ThemeShaper Forums » Thematic

Help with hooks: add html in thematic_belowheader()

(2 posts)
  • Started 4 years ago by scottdeto
  • Latest reply from amygail
  • This topic is not resolved
  1. scottdeto
    Member

    I'm doing a custom child theme off Thematic. My site is using Reading:Static for my home page (home,) and (blog) for the blog. I'd like to insert a graphic in the thematic_belowheader() for all blog pages, but none of my static pages.

    Assume the html to add is: <img src="images/test.jpg" />. I'm looking for help for the code to put into my child theme functions.php

    Posted 4 years ago #
  2. amygail
    Member

    You could do this with css.

    Use your dynamic classes...

    something to the tune of :

    body.single #header,body.blog #header, {
    background: transparent url(./images/header.png) no-repeat right top;

    }
    body.page #header {
    background: none;

    }

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.