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

Viewing 1 replies (of 1 total)
  • Thread Starter demonboy

    (@demonboy)

    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
    div.rsswidget
    #sidebar div.rsswidget
    .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.

Viewing 1 replies (of 1 total)
  • The topic ‘Change background colour of RSS widget’ is closed to new replies.