Notifications
Clear all

[Solved] highlight to quote colors

4 Posts
2 Users
2 Reactions
283 Views
Posts: 60
Topic starter
(@sison2466)
Estimable Member
Joined: 10 months ago

I didn't notice that users could highlight text to automatically quote the text in their reply. Awesome feature!

However, where are the settings to control the color? It's currently a dark color highlight on dark text, which makes the text difficult to read. Screenshot attached. 

3 Replies
Sofy
Posts: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

You can use this CSS code:

.wpforo-post-content ::selection {
    color: #659fbe !important;
    background:  #777777 !important;
}

The red-marked value can be changed as you like.

Posts: 60
Topic starter
(@sison2466)
Estimable Member
Joined: 10 months ago

This changed the highlight color when highlighting inside the topic, but not topic title. (screenshot). Is there a CSS change to change all highlights?

1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4900

@sison2466 

Below is provided the CSS code you can use: 

#wpforo #wpforo-wrap .wpforo-content ::selection {
   color: #659fbe !important;
   background: #777777 !important;
}

The previous code can be removed once this one is added.