WordPress.org

Support

Support » How-To and Troubleshooting » How do I remove the rss icon from a feed in the sidebar?

How do I remove the rss icon from a feed in the sidebar?

  • 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I remove the rss icon from a feed in the sidebar?’ is closed to new replies.
Skip to toolbar