Site logo

Archived topic

Sidebar widget styling

3 replies · Started by donald on May 9, 2021

Viewing posts 1–4 of 4

I have been struggling to figure out how to change the default styling for sidebar widgets. Specifically, the sidebar recent posts and other widgets have a black background with white text. Please see http://www.CyberExperts.com for an example of what I am talking about. Can you tell me how I can change this to remove the black background and me the text black?

I appreciate the assistance.

Hi there,

You have this CSS in Appearance > Customize > Additional CSS:

.inside-right-sidebar ul li{
	text-align:center;
	padding-top:6px;
	padding-bottom:6px;
	background-color:#0c0c0d;
	margin-top:3px;
	margin-bottom:3px;
}

The background-color:#0c0c0d; causes the dark background.

You also have this CSS as well -

.inside-right-sidebar ul a {
    color: #ffffff !important;
}

This causes the font to change color to white. Remove this so it doesn't change to white.

Perfect. Many thanks!

No problem. :)

This archived topic is closed to new replies.