The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
AI Assistant
How to make comment...
 
Notifications
Clear all

Question How to make comments that have reached a certain number of votes change color

3 Posts
3 Users
0 Reactions
292 Views
Posts: 1
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
(@mhatter106)
New Member
Joined: 3 weeks ago
[#11382]

Hello, I am trying to make it so that comments that receive 4 or more upvotes turn a different background color.

I inserted this code in Custom CSS code under Styles and Colors, and cleared the comment cache, but it didn't seem to take.

#wpdcom .wpd-comment[data-votes="4"] .wpd-comment-wrap {
background-color: #fbbea0 !important;
border: 1px solid #f45d11 !important;
}

Any help would be appreciated.

For reference, here is a page on the site that has a comment with 4 upvotes (about 8 comments in by vulpesvulpes): https://launch-angle.com/2026/04/03/moonshot-astros-at-athletics-4-3-26-840-ct-game-7-thread-and-discussion/


2 Replies
Posts: 1
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
(@civilrecap)
New Member
Joined: 2 weeks ago

Here is a page on the website where a comment has received four upvotes (about eight comments from vulpesvulpes).  https://launch-angle.com/2026/04/03/moonshot-astros-at-athletics-4-3-26-840-ct-game-7-thread-and-discussion/ sprunki game


Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8294
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

Hi,

Apologies for the delayed response.

I'm sorry, but this customization cannot be done using CSS. You might try a JavaScript-based solution instead. I’ll also check with the team to see if there’s an easier approach we can suggest.


Reply