Site logo

Archived topic

Right Sidebar - Encapsulate a widget in a colorful frame

5 replies · Started by Ashish on August 27, 2020

Viewing posts 1–6 of 6

Hi,

Is it possible to encapsulate sidebar widgets in a frame that has a background color? Can I assign different colored frames to each widget? Also, can I have a nice looking optional divider between the widgets?

Ashish

Hi Leo,

I tried it and put the code in the additional-css. Didn't seem to work. Have I put it in the wrong place?

Ashish

Hi,

I removed the :first-child from the widget you gave me and I tried this code:

/* Sidebar widget color */
.sidebar .widget {
background-color: #e86000;
color: #fff;
}

This seems to make all the widgets to the color #e86000.

I also tried this code found in the forum that boxes each of the widget:

.inside-article, .sidebar .widget, .comments-area {
border: 1px solid rgba(232, 234, 237, 1);
box-shadow: 0 0 10px rgba(232, 234, 237, 0.5);
}
If I add background-color: #e86000; to above it too changes all the widgets to the same color.

Is it possible to have individual colors for each of the widgets on the sidebar?

Glad to hear :)

This archived topic is closed to new replies.