MyBB Community Forums

Full Version: Change highlight color?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm not talking about .highlight, that changes the color of highlight in search results. How do you change the highlight color? I'm assuming this is something that you don't do in the ACP, probably a JS. Any help would be appreciated.
Yes it is in ACP.
Admin CP > Templates & Style > Select your theme > global.css > Selector: .highlight > Edit the "Background" field.
(2012-03-11, 03:26 AM)cfillion Wrote: [ -> ]Yes it is in ACP.
Admin CP > Templates & Style > Select your theme > global.css > Selector: .highlight > Edit the "Background" field.

No, that's for search highlight. I'm talking about when you highlight something.
::selection {
        background: red;
        }
::-moz-selection {
        background: red; /* Firefox */
}

Add this to global.css. Change red to whatever color you choose.
(2012-03-15, 08:07 PM)Audentio Wrote: [ -> ]
::selection {
        background: red;
        }
::-moz-selection {
        background: red; /* Firefox */
}

Add this to global.css. Change red to whatever color you choose.

Thanks so much!