Notifications
Clear all

[Solved] CSS for widgets

8 Posts
2 Users
1 Reactions
736 Views
Posts: 60
Topic starter
(@sison2466)
Estimable Member
Joined: 2 years 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: 60
Topic starter
(@sison2466)
Estimable Member
Joined: 2 years 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: 8 years ago

Support Team
Posts: 5509

@sison2466,

Please leave the URL where we can see the issue. 


(@sison2466)
Joined: 2 years ago

Estimable Member
Posts: 60
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5509

@sison2466,

Use this CSS code:

#wpf-widget-forums .wpforo-widget-content .wpf-dl-item {text-align: left; !important}

(@sison2466)
Joined: 2 years ago

Estimable Member
Posts: 60

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


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

Support Team
Posts: 5509

@sison2466,

Here it is: 

.wpforo-widget-content .wpforo-list-item-right {
   text-align: left;
}

Posts: 60
Topic starter
(@sison2466)
Estimable Member
Joined: 2 years ago

@sofy Thanks again.