Notifications
Clear all

[Solved] CSS for widgets

8 Posts
2 Users
1 Reactions
200 Views
Posts: 48
Topic starter
(@sison2466)
Trusted Member
Joined: 3 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: 48
Topic starter
(@sison2466)
Trusted Member
Joined: 3 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: 6 years ago

Support Team
Posts: 4416

@sison2466,

Please leave the URL where we can see the issue. 

(@sison2466)
Joined: 3 months ago

Trusted Member
Posts: 48
Sofy
 Sofy
Admin
(@sofy)
Joined: 6 years ago

Support Team
Posts: 4416

@sison2466,

Use this CSS code:

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

Trusted Member
Posts: 48

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

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

Support Team
Posts: 4416

@sison2466,

Here it is: 

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

@sofy Thanks again.