Zen Follower
- Join Date:
- Aug 2006
- Location:
- Kihikihi, New Zealand
- Posts:
- 220
- Plugin Contributions:
- 2
h3 in featured, new, special etc. sidebox Header
Hi all,
I have created a new div id in the tpl_featured.php by changing line 16 (or so) from
$content .= '<div class="sideBoxContent centeredContent">'; to
$content .= '<div id="featuredContent" class="sideBoxContent centeredContent">';
This has allowed me to put background graphics in different colours in the #featuredHeader and #featuredContents in my stylesheet.
#featuredHeading {
height: 21px;
background-image: url("../images/SideboxPinkTop.gif");
background-position: bottom;
}
#featuredContent {
background-image: url("../images/SideboxPinkBottom.gif");
background-position: bottom;
padding: 0.5em 0.8em 1.5em 0.8em;
}
But this stil does not allow me to change the font colour in the sidebox header
I do not want to make this a global change, but make it specific for each sidebox I specify.
I have tried:
#featuredHeading a { etc, but that does not seem to make a difference. Should it be something like:
#sideBoxHeader.featuredHeader { ????
Any one able to solve this little mystery for me?
Many thanks,
Goshawk