Notifications
Clear all

[Solved] CSS for widgets

8 Posts
2 Users
1 Reactions
282 Views
Posts: 59
Topic starter
(@sison2466)
Estimable Member
Joined: 5 months ago

What would be the proper CSS to get the forum list widget to list hierarchically (preferred) or left justified? Centered looks strange.

7 Replies
Posts: 59
Topic starter
(@sison2466)
Estimable Member
Joined: 5 months ago

I tried the following, but I don't think I have the syntax correct

 

#wpforo #wpforo-widget-wrap .wpforo-widget-content {text-align: left; !important}
5 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4585

@sison2466,

Please leave the URL where we can see the issue. 

(@sison2466)
Joined: 5 months ago

Estimable Member
Posts: 59
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4585

@sison2466,

Use this CSS code:

#wpf-widget-forums .wpforo-widget-content .wpf-dl-item {text-align: left; !important}
(@sison2466)
Joined: 5 months ago

Estimable Member
Posts: 59

@sofy Thanks. What would be the selector for the recent topics list on the widget?

Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4585

@sison2466,

Here it is: 

.wpforo-widget-content .wpforo-list-item-right {
   text-align: left;
}
Posts: 59
Topic starter
(@sison2466)
Estimable Member
Joined: 5 months ago

@sofy Thanks again.