I just put an RSS feed in my sidebar...but I dont like to look of the icon - for some reason its a little distorted.
How can I remove the icon? I've looked at my theme's css but I just cant seem to find where it is.
Thanks!
I just put an RSS feed in my sidebar...but I dont like to look of the icon - for some reason its a little distorted.
How can I remove the icon? I've looked at my theme's css but I just cant seem to find where it is.
Thanks!
You can change the image the RSS sidebar widget uses by replacing the default rss.png image located here (this will also change the rss icon the admin area uses):
\wp-includes\images\rss.png
The image should be 14px by 14px
If you really do not want the image you can add this to your stylesheet:
.rsswidget img{
display:none;
}
Hope that helps.
.rsswidget img{
display:none;
}
That will actually still leave you with a 14px X14px orange square where the icon used to be ..
the best answer (to COMPLETELY REMOVE the RSS icon) is this:
Open wp-includes/widgets.php, find the following line and remove the BOLD text:
$title = "<strong><a class='rsswidget' href='$url' title='" . attribute_escape(__('Syndicate this content')) ."'><img style='background:orange;color:white;border:none;' width='14' height='14' src='$icon' alt='RSS' /></a></strong> <a class='rsswidget' href='$link' title='$desc'>$title</a>";
which will leave this:
$title = "<a class='rsswidget' href='$link' title='$desc'>$title</a>";
Save & upload.
This topic has been closed to new replies.