AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] Changing ONLY the Background color of the Sticky Topics?

2 Posts
2 Users
0 Reactions
1,567 Views
Posts: 109
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@beyondforce)
Estimable Member
Joined: 7 years ago
[#8925]

Hey Guys,

There is a solution by @Sofy for this by adding the following js code into the "WP active theme js file".

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

My problem is, identifing the spesific JS file I need to add this code into!

If anyone knows the name of the JF file, I would really appreciate it.

Thanks 🙂


Topic Tags
1 Reply
Sofy
Posts: 5777
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @beyondforce,

Please read this article: 

https://www.collectiveray.com/wp/tips/add-javascript-to-wordpress


Share: