Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

wpForo 1.x.x [Solved] Changing ONLY the Background color of the Sticky Topics?

7 Posts
4 Users
3 Reactions
1,653 Views
Posts: 109
Topic starter
(@beyondforce)
Estimable Member
Joined: 7 years ago

Hey Guys,

I want to change the background color of the Sticky Topics in order to highlight it.

Can someone help with that?

Thanks.

Cheers / Ben.


6 Replies
Posts: 533
(@central4allgmail-com)
Prominent Member
Joined: 7 years ago

Nice idea !


Posts: 21
(@power505)
Eminent Member
Joined: 7 years ago

Looking for this too. Did anyone found any CSS solution for this?


Sofy
Posts: 5637
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi @beyondforce@central4allgmail-com, @power505

try the following JS code, add it in you theme js files and check again. In this case, the sticky topic will change the background color in the topic list: 

jQuery( "i.fa-thumbtack" ).parent().parent().parent().css( "background-color", "#f1d5d5" );

2 Replies
(@beyondforce)
Joined: 7 years ago

Estimable Member
Posts: 109

Hi @Sofy,

Could you please be more specific about the JS file? Are you talking about the WP Theme or the WPforo Theme?

 

Thanks.


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

Support Team
Posts: 5637

I mean WP active theme. 


Posts: 21
(@power505)
Eminent Member
Joined: 7 years ago

@Sofy it works, thanks for the great solution!