I'd like to change the font and color of the titles in the WPForo sidebar widgets. I've looked at all of the CSS files associated with WPForo, but I can't find the right selectors and classes.
Also, there's no space between the list item icon and the text in the Recent Topics and Recent Posts widgets. How can I change that?
Any suggestions are greatly appreciated. Here is a screen grab of the widget titles problem.
Do you have any suggestions, please?
wpForo widgets are regular widgets, it should inherit widget title style from your theme. CSS code should look similar like other widgets.The regular widget title CSS is this:
.widget-title{}
wpForo doesn't have icons in widgets, maybe it comes from WordPress theme. So I have no clue how to add spaces.
Once you posted which item to look for, I found the stylesheet for WPForo. The element isn't inherited from the theme. It's specified in the WPForo stylesheet as I'd thought. If it had been inherited, it would look like the sidebar on the rest of the site, but it's quite different. Here is what I found:
#wpforo #wpforo-wrap .widget-title {
padding: 10px 0px 15px 0px;
margin-bottom: 5px;
font-size: 20px;
}
.wpforo-widget-wrap .wpforo-widget-content {
padding: 10px 1px 20px 1px !important;
margin: 0px;
}
.wpforo-widget-wrap .wpforo-widget-content ul {
padding: 0px;
margin: 0px;
border: none;
}
.wpforo-widget-wrap .wpforo-widget-content li {
padding: 8px 0px !important;
margin: 0px;
list-style: none;
border: none;
}
Once I get some sleep, I'll make the necessary changes. Thanks for the information that allowed me to find the right item.
These only work for wpforo wrapper in wpForo sidebar, other places this doesn't work. Also as you can see there is no any image, backgrounds, colors and icons in CSS, this only manages paddings and margins.
Hi,
I try this code but doesn't work.
My theme is jannah.
Help me pls.