Notifications
Clear all

wpForo 1.x.x [Closed] Individual style for different forums under same category

6 Posts
2 Users
0 Likes
1,705 Views
Posts: 12
Topic starter
(@arvedg)
Eminent Member
Joined: 4 years ago

Hi, is there a way to give two forums in the same category (extended) separate css instructions? I'd prefer to have the first forum collapsed and the text "Recent topics" removed there, while not changing the style of the other forums.

Thanks, Arved 

5 Replies
Tutrix
Posts: 1248
(@tutrix)
Noble Member
Joined: 4 years ago

@arvedg

use the forum ID to remove "Recent topics"

example Forum ID 8

add this to custom css

 

#wpf-forum-8 .wpfcl-5, #img-arrow-8::before {
display: none;
}
Posts: 12
Topic starter
(@arvedg)
Eminent Member
Joined: 4 years ago

Thank you Tutrix!

Do you know how to force a forum to be collapsed in general - if possible? Maybe that could also work with the ID target then. 

 

1 Reply
Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1248

@arvedg

example Forum ID 8

try


.wpforo-last-topics-8 {
display: none !important;
}

"!important" to override inline style "block" (expand)

Posts: 12
Topic starter
(@arvedg)
Eminent Member
Joined: 4 years ago

Turix, you are my hero, works like a charm! Thank you 🙂 

Just the little arrow is left (leftover from removing the "Recent topics" link and without function now, of course). Would you also know the magic formula for getting rid of that one? Sorry for bothering you with these details.

Posts: 12
Topic starter
(@arvedg)
Eminent Member
Joined: 4 years ago

Ah, fixed, my bad. All fine, had missed to change the forum id for the arrow. Thanks a lot!!!

Best, Arved