[Support request] background colour for each separate sidebar widget

Home Forums Support background colour for each separate sidebar widget

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #937567
    Immi

    hello there,
    I’m using multiple sidebar widgets on my website, and I would like to change the background colour of each widget as similar to the attached screenshot below.

    cap 2.PNG

    #937728
    David
    Staff
    Customer Support

    Hi there,

    so we’re going to use some CSS to target each of the right sidebar widgets like so – this hits the first widget:

    #right-sidebar .widget:nth-child(1) {
        background-color: #2255FF;
    }

    Duplicate the rule for each widget and increase the # in the :nth-child(#) e.g #right-sidebar .widget:nth-child(2) is the second widget and so on

    #937772
    Immi

    thanks, sir it’s working a charm,
    Please have a look https://www.androidspd.com

    #938105
    David
    Staff
    Customer Support

    Looks great – glad to be of help

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.