Notifications
Clear all

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

6 Posts
2 Users
0 Likes
1,432 Views
arvedg
Posts: 12
Topic starter
(@arvedg)
Active Member
Joined: 2 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: 775
(@tutrix)
Prominent Member
Joined: 2 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;
}
Reply
arvedg
Posts: 12
Topic starter
(@arvedg)
Active Member
Joined: 2 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.Β 

Β 

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

Prominent Member
Posts: 775

@arvedg

example Forum ID 8

try


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

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

Reply
arvedg
Posts: 12
Topic starter
(@arvedg)
Active Member
Joined: 2 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.

Reply
arvedg
Posts: 12
Topic starter
(@arvedg)
Active Member
Joined: 2 years ago

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

Best, Arved

Reply
Share: