Hello. I can’t fix a problem with Enfold Template. When I select a portion of text with pointer, selection gets so dark that text is unreadable. Can you help me? I’ve just tried with Enfold settings but nothing!
The website that has this problem is: https://pvcprofil.it/ if want to better understand the problem, try to select some text on this website
Hey mauro_gallone,
Please try the following in Quick CSS under Enfold->General Styling:
::selection {
background-color: red;
color: white;
}
Best regards,
Rikard
Thank you so much! I solved the problem
Hi,
Great, I’m glad that you got it working. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Hi,
is there a way to (re)set the selection-color to browser-default?
Best regards,
Niklas
Hi Niklas,
I’m not sure I understand you question, could you try to explain a bit further please?
Best regards,
Rikard
Hi Rikard,
I think each browser has a default selection color, that will get active if no selection-color set by the website.
Can I reset the selection-colors to this (browser-specific) default color? (Something like “color: initial;”)
Best regards
Niklas
Hi Niklas,
I’m not sure to be honest with you, but that might be the case. The theme shouldn’t set a selection colour by default though, so I don’t think you should need any custom CSS for that. But if you want to try it out then you can try something like this:
::selection {
color: inherit;
}
Or:
::selection {
color: initial;
}
Best regards,
Rikard
Hi Rikard,
Unfortunately the theme sets a selection-color by default.
I already tried to set color as initial (or inherit), but it didn’t work.
Now I set a color similar to the browsers default color. Think that’s the easiest way.
Thank you anyway for your help!
Best regards,
Niklas
Hey Niklas,
I’m glad you found a suitable solution.
Best regards,
Jordan Shannon