Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

7 Posts
4 Users
3 Reactions
1,336 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: 5483
 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: 5483

I mean WP active theme. 

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

@Sofy it works, thanks for the great solution!