0

I am having an issue with figuring out how to change the default color on the normal text when its selected/clicked.

I can not remember what its called and I can't find it when I inspect the the code.

I am working on a WordPress child theme version of Zerif Lite.

I have included a picture of how it looks when clicked and that is also what I would like to change.

enter image description here

I hope you can help me! :)

1 Answers1

5

You can use CSS to highlight the selected text.

::-moz-selection { /* Code for Firefox */
color: white;
background: #ffc0cbfa; //Pink color

}

::selection {
color: white;
background: #ffc0cbfa; //pink color

}