Change background colour of RSS widget (2 posts)

  1. demonboy
    Posted 4 years ago #

    I can't believe I'm asking such a basic question! I normally style my own sidebar but for this website I am using widgets instead. I'm using the RSS widget but can't work out how to change the background colour.

    When I use Firebug I notice that the HTML structure gives every widget the ID 'widget', so they are all generic and don't have their own CSS classes.

    With this in mind, how am I supposed to change the bgcolor of one widget in particular?

  2. demonboy
    Posted 4 years ago #

    OK, some more information since no one has come back yet.

    I found this thread on styling the rss widget but the proposed solution of using:

    #sidebar .rsswidget {background-color:#FFF;display:block;}

    ...does nothing except fill in the <h2> and the elements. Here is a screen grab of what I have so far.

    I have tried:

    #sidebar .rsswidget
    #sidebar ul.rsswidget
    #sidebar li.rsswidget
    #sidebar div.rsswidget

    ...and quite a few other variations but try as I might, I simply cannot get the whole block to have a white background because it is contained in a generic-named div called class=widget.

Topic Closed

This topic has been closed to new replies.

About this Topic