• 0

moz selection change


Question

Posted · Report post

Trying to change the moz-selection background color for the site because at the moment it matches the link color.  I would like to change this but not sure how to write it in the custom css area to work.  Would anybody be able to give any advice?

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Hello Outtareach

 

Use firebug to select the exact elector you want to change and then make the changes in firebug - you can then copy the code and paste it into your Custom CSS.

 

Do you have a link to your site? 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I did that in firebug which has


*::-moz-selection{
background: none repeat scroll 0 0 #FF6600;
}

and I can change it in firebug but putting this code in dms doesnt change anything so Im not sure if I'm inputting it correctly.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi,

 

You need to use the following:

 

::selection {
background: red;
}
::-moz-selection {
background: red;
}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now