Home › Forums › Jevelin Theme › Can't get highlight color to change?
Home › Forums › Jevelin Theme › Can't get highlight color to change?
When I highlight any text on my website, it shows the demo orange background color. How can I change this “highlight color” to a different one? Thanks!
I hope you are well today and thank you for your question.
You can try changing it by adding the following CSS code in the Custom CSS code option of your theme on the below path.
Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code
::selection { background: #000; }
::-moz-selection { background: #000; }
::-webkit-selection { background:#000; }
You can change the color value in the above code to whatever you want to use by referring the following pages.
http://www.w3schools.com/html/html_colors.asp
http://www.w3schools.com/html/html_colorvalues.asp
http://www.w3schools.com/tags/ref_colorpicker.asp
Please note that only Safari and Firefox are supporting this and some of the most recent version of chrome browser.
Best regards,
Shufflehound team
Thank you for this! I used the code you gave above and changed the color value to what I needed. It doesn’t seem to be working in Safari or Chrome, but it is in Firefox…I did clear cache and history and cookies. But if that’s the best that can be accomplished, then I guess that will have to do!
Yes as said it will work depending on browser and system.