WordPress.org

Ready to get started?Download WordPress

Forums

Widget Background (5 posts)

  1. wagawaga
    Member
    Posted 5 years ago #

    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?

  2. drewactual
    Member
    Posted 5 years ago #

    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.

  3. wagawaga
    Member
    Posted 5 years ago #

    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?

  4. stonegauge
    Member
    Posted 5 years ago #

    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.

  5. stonegauge
    Member
    Posted 5 years ago #

    Scratch that. Found what I was looking for here:

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

Topic Closed

This topic has been closed to new replies.

About this Topic