The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Upvote/downvote but...
 
Share:
Notifications
Clear all

Upvote/downvote buttons color

4 Posts
2 Users
0 Reactions
989 Views
Posts: 8
Topic starter
(@gangda)
Active Member
Joined: 4 years ago

Hi, I want to know how to change the upvote/downvote buttons' color? And also the color of the vote number. Thank you very much!

3 Replies
Asti
Posts: 7661
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@gangda,

You should use additional CSS code for this. You can leave here some example URL we'll help you with the CSS code.  

Reply
Posts: 8
Topic starter
(@gangda)
Active Member
Joined: 4 years ago

Here is a post page with comments.

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

Illustrious Member
Posts: 7661

@gangda,

Use the CSS codes below:

/* upvote */
#wpdcom .wpd-up svg {
   fill: #a51b1b !important;
}
#wpdcom .wpd-up{
   color: #a51b1b !important;
}

/*  downvote */
#wpdcom .wpd-down svg {
   fill: #215f84 !important;
}
#wpdcom .wpd-down {
   color: #215f84 !important;
}

The red marked value can be changed as you like.

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again. 

Please don't forget to press Ctrl+F5 (twice) on the frontend before checking.

Reply
Share: