Repeating Icons in Block titles

clemnet - March 27, 2008 - 18:59

Hi,

Hoping someone can help me with a problem I have with my icons in block titles on www.theweatherfront.com - I do not want both titles to have icons just the block title
Here is code from css:

/** iconify frontpage_news block titles **/
#block-views-frontpage_news h2 {
margin:0;
background: url(../icons/32x32/block/weather-news-title.png) left 50% no-repeat;
padding: 6px 6px 6px 40px;

Any ideas how I fix this? Thank you very much!

Classes switched

kayaker - March 27, 2008 - 22:45

I think that you want to style

<h2 class="title">

to include the icon rather than the raw h2.

If you add Firebug to Firefox, you'll see that both the block title and your local title are CSS'ed under h2.

Kayaker
__________________________________________________________________________________

Aweigh - not all who wander are lost.

 
 

Drupal is a registered trademark of Dries Buytaert.