How do I get sidebar widgets in different colour? Outreach theme

Community Forums Forums Design Tips and Tricks How do I get sidebar widgets in different colour? Outreach theme

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Brian Bourn 1 year, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28664

    mariafernandez
    Participant
    Post count: 19

    Does anyone know how I can get four sidebar widgets to have different background colours? At the moment they’re all the same.

    Thanks.

    #28672

    Brian Bourn
    Participant
    Post count: 98

    If they are all the same type of widget (ex: all text widgets) you can use the id that WordPress outputs for each widget and target that with CSS, but you will run into an issue if you ever change your widgets.

    If you use Chrome Inspector or Firebug, you can see the id of each widget.

    If you are targeting different types of widgets (ex: text, RSS, recent posts, etc) you can use target the widget classes, which will still work if the widgets are changed later on.


    Bourn Creative | bourncreative.com | Twitter

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.