Notifications
Clear all

[Solved] How to change padding for wpforo widgets?

3 Posts
2 Users
1 Reactions
100 Views
Posts: 103
Topic starter
(@vanessa)
Estimable Member
Joined: 1 year ago

Hi,

 

How can I change the padding for the wpforo widgets?

 

The code in widgets.css is this:

#wpforo .wpforo-widget-wrap .wpforo-widget-content, .wpforo-widget-wrap .wpforo-widget-content {
padding: 10px 1px 20px 1px!important;
margin: 0;
}

 

And because it has !important; I'm not able to override it with custom css.

 

How can I change this?

thx

2 Replies
Sofy
Posts: 5136
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi,

Use this code: 

#wpforo .wpforo-widget-wrap .wpforo-widget-content > ul li{
    padding: 15px !important;
}

The codes should be inserted in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea.

1 Reply
(@vanessa)
Joined: 1 year ago

Estimable Member
Posts: 103

@sofy thank you!