The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Change a specific c...
 
Share:
Notifications
Clear all

[Solved] Change a specific color

11 Posts
2 Users
5 Reactions
1,018 Views
Posts: 68
Topic starter
(@canewsforum)
Trusted Member
Joined: 4 years ago

Hi, I am trying to figure out where to change the color within a comment from the standard light grey to black.  We have a color blind person that cannot see the following underlined areas on the attached image.  Thanks. 

ofru colour chat 2 1632095400.65

 

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

@canewsforum,

You should use CSS codes for this purpose. E.g. 

For changing the color of the date/time use this CSS code: 

#wpdcom .wpd-comment-date {color: #4a2525;}

For changing the color of the "reply to" section use CSS code: 

#wpdcom .wpd-comment .wpd-reply-to{color: #4a2525; }

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.

You can find all classes by pressing F12 on the browser and opening Chrome or Firefox Console, it'll help you easily write CSS rules you need to customize. 

CSS

This website should help you to write CSS rules:      https://www.w3schools.com/cssref/default.asp

2 Replies
(@canewsforum)
Joined: 4 years ago

Trusted Member
Posts: 68

@asti Thanks.  We are limited in our expertise when it comes to CSS etc.  Per my attached screenshot, we have been able to change a couple fields, but no luck with your code for the Reply to field, or User nicename, or the Upvote thumb and counter.  Can you help with these please? 

I am also attaching what we have right now in the additional css area.  Thank you for your assistance.

Ofru

 

CSS
Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7661

@canewsforum,

The CSS code is provided below: 

#wpdcom .wpd-comment-footer .wpd-reply-button, #wpdcom .wpd-comment-footer .wpd-reply-button svg {
   color:  #000;
   fill: #000;
}
#comments #wpdcom .wpd-comment .wpd-comment-wrap .wpd-comment-author span.wpducm-user-nicename{
   color: #000;
}
#wpdcom .wpd-comment-footer .wpd-vote-up svg {
   fill:  #000;
Posts: 68
Topic starter
(@canewsforum)
Trusted Member
Joined: 4 years ago

Thank you Asti!  Just one more request, the "Reply to" field is still the light grey as per the attached screenshot. Really appreciate the help, and so does our color blind community member!  

Reply

 

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

Illustrious Member
Posts: 7661

@canewsforum,

Try this one:

#wpdcom .wpd-comment .wpd-reply-to{color: #000 !important; } 
Posts: 68
Topic starter
(@canewsforum)
Trusted Member
Joined: 4 years ago

Thank you Asti, we have found 3 more areas that our color blind member cannot see, I have attached a screenshot.  I would appreciate the code for those as well.  Thanks. 

Last

 

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

Illustrious Member
Posts: 7661

@canewsforum,

Please use this code: 

#wpdcom .wpd-comment-right .wpd-comment-last-edited, #wpdcom .wpd-comment-footer .wpd-tools i, .wpd-comment-link.wpd-hidden span, #wpdcom .wpd-comment-footer .wpd-toggle i {
    color: #000;
}
Posts: 68
Topic starter
(@canewsforum)
Trusted Member
Joined: 4 years ago

Thanks!!  You are the best!  But I did find one more area that could use the black color.  I have attached a screenshot. Thanks!

Next

 

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

Illustrious Member
Posts: 7661

@canewsforum,

This changes the color: 

#wpdcom .wpd-tools-actions > * {
   color: #000;
} 

We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

Posts: 68
Topic starter
(@canewsforum)
Trusted Member
Joined: 4 years ago

Thank you sir!  I think we are done now, appreciate all your help!  🙂

Share: