Widget Title

Posted in: Newsmag
Post count: 104

The default config for Widget Title is white text in a black background. How can I reverse it so it’s black text on a white background?

Post count: 7909

Hi,

I think that you are referring to widgets title from sidebar. You can change it with css code:
All blocks title: http://screencast.com/t/y9izYKyJPb9

.td-main-sidebar .block-title span{
background: white;
color: black;
font-size: 20px;
}

Or you can target one widget: http://screencast.com/t/y7tyGVqNoODy

.td-main-sidebar .widget_recent_comments .block-title span{
background: white;
color:black;
font-size:20px
}

Only tagdiv’s blocks have this option from settings: http://screencast.com/t/mhneHKCtdEO

Hope this helps!

Post count: 34

hmmm… tried this:

.td-main-sidebar .block-title span{
background: #0c2044;
color: #ffffff;
font-size: 20px;
}

pasted into “custom css” and cleared the cache.
nothing happens, all non-tagdiv-widget still have a black color (http://www.salzburg12.at)

Post count: 104

Same here- code didn’t change the widget headers

Post count: 7909

Hi,


@SALZBURG12
Please try this custom css:
On page’s sidebar: http://screencast.com/t/Mur0oNsE
Also on post’s sidebar: http://screencast.com/t/ReU5JFX3S

.wpb_widgetised_column .block-title > span, div.td-main-sidebar .block-title > span{
background: white;
color: black;
font-size: 15px;
}


@ajaffarali
You also can try that code.
If doesn’t work please provide your site URL.

Thanks!

Post count: 34

worked! THANKS!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.