Change the RSS icon in 2.9
-
Any CSS pros know how to change the default rss icon in the sidebar widget? Its been answered elsewhere but I cant get it to work in 2.9
My output looks like this in firebug…
<h2> <a href="http://domain.com/feed" class="rsswidget"> <img src="http://domain.com/wp-includes/images/rss.png"/> </a> <a href="http://domain.com" class="rsswidget"> from the main blog </a> </h2>
I’m getting very close with css. here’s what I have:
#sidebar h2 .rsswidget img {display:none;} #sidebar h2 .rsswidget {background: url(images/rss.png) no-repeat; padding-left:24px;}
because the class rsswidget is the h2 tag twice, the image shows twice when i use padding to move the text to clear the icon.
I tried text-indent to move the text over, but it didnt work.
Any ideas???
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Change the RSS icon in 2.9’ is closed to new replies.