WordPress.org

Support

Support » Themes and Templates » Widget Background

Widget Background

  • Hi there,

    I have few widgets displayed on my front page and i would like to add different background for each widget at different row.

    Any sample on how to do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • you can actually add to your css a widget declaration.. example:

    widget {
      background-color:gray;
      }

    it works on most browsers and gives you a ‘one stop shop’ place to manipulate them.

    you can also assign different classes to them to change how each one is represented…

    it would be a lot easier answering your question if a link was provided.

    thanks for the reply.

    let say i have one sidebar and widgetized. the content will be;

    widget 1 | main column
    widget 2
    widget 3

    what i would like to do is, for each widget, they have different background color.

    how to achieve that?

    drewactual, can you elaborate on this?

    I have a 3 column theme with 3 distinct widget areas. I’d like the individual widgets to have their own properties on 2 of the 3 sidebars and that CSS code for individual widgets would come in handy.

    Scratch that. Found what I was looking for here:

    http://csstinderbox.raykonline.com/?p=89#comments

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Widget Background’ is closed to new replies.