Site logo

Archived topic

select color

19 replies · Started by mohamedhassan on July 23, 2017

Viewing posts 1–15 of 20

How can I change the select color from below to other color?

Hi there,

I'm not too sure what you mean - can you explain a bit more?

Thanks!

When I Select any word or phrase to copy or for any other purpose, the default of the selected is blue. How can I change this color to whatever color I want?
Also I'd like to see the height of the color the same as that of the letters as I see it needs to be smaller!

Thanks!

Sorry still a little confused.

Are you able to provide a link to the page in question and let us know what you are trying to change?

Thanks!

I've taken a screen shot that illustrate what I mean however I don't know how I attache it here.
let me know how can I send it to you?

Thanks!

Ah yes, try this:

::selection {
  background: #ffb7b7; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #ffb7b7; /* Gecko Browsers */
}

Thanks for the information,
However let me know where I'll enter the code and whether I need to remove an old one!

Alright, now I see the height of the selection is bigger than I want!
How can I reduce it to be almost as the height of the letters?

Regards

Waiting your reply!

Just looked into this, and you can't change the height of the selection.

If you remove the custom color we added, does the same issue occur?

This archived topic is closed to new replies.