Site logo

Archived topic

Widget background color

3 replies · Started by Petar on November 11, 2022

Viewing posts 1–4 of 4

Hi, one of my left sidebar widgets suddenly got a white background. I didn't change anything. The same code works on another widget above where everything is fine, the background is transparent.

So I was wondering, how to remove the white color. I will paste the info into the private section

Hi there,

so you're using this CSS to remove the background color:


.inside-left-sidebar .widget:nth-child(4) {
    background-color: transparent
}

.inside-left-sidebar .widget:nth-child(3) {
    background-color: transparent
}

But this is only for the 3rd and 4th widget, but not the 5th.
What happens if you do this instead:


.inside-left-sidebar .widget:nth-child(3),
.inside-left-sidebar .widget:nth-child(4),
.inside-left-sidebar .widget:nth-child(5) {
    background-color: transparent
}

thanks

You're welcome

This archived topic is closed to new replies.