Hi all!
Having some problems here and not sure where to start. My designer has designed a site with different headers for different pages. So I tried to take Chris's solution for writing different body classes for different pages. Right now I have an about us page and need to get an image in the header area or rather the #image-box. For some reason it's not working.
// We wrap #branding
function childtheme_brandingopen() { ?>
<div id="header-box">
<div id="branding">
<?php }
add_action('thematic_header','childtheme_brandingopen',1);
// And we add our #image-box
function image_box() { ?>
<div id="image-box">
</div>
<?php
}
add_action('thematic_header', 'image_box', 8);
// REMOVE CURRENT ACCESS
function remove_access() {
remove_action('thematic_header', 'thematic_access', 9);
}
add_action('init', 'remove_access');
//ADD ACCESS TO NEW POSITION
add_action('thematic_header', 'thematic_access', 7);
// Now we need to close #header-box
function header_box_close() { ?>
</div>
<?php }
add_action('thematic_header', 'header_box_close', 9);
Then I added the CSS to the body but I dont think this is right. My template page is called About Us Page - so Im not sure how the code references OR writes to that body template
body.about #image-box {background: url(../images/about-us.jpg);}
Hope I wrote the code in the tics right. Any help is again GREATLY appreicated!
This is the only code I have so far - do I need more? I will become a guru if it kills me! :)
This design has been on BIG Cluster!