MyBB Community Forums

Full Version: Highlight
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay, so i was browsing a little bit on google for changing highlight and i found it. You add code to global.css 

::selection {
        background: red;
        }
::-moz-selection {
        background: red; /* Firefox */
}
But thing is that now when you highlight, the thing (letters) you highlighted doesn't go white like they use to on normal highlight and on this forum, they stay same color.

Not working example

Example

Help ?
Add
color: #fff; to it?
::selection {
    background: red;
    color: #fff;
}

::-moz-selection {
    background: red;
    color: #fff;
}
Added this, but it is not working.

::selection {
    background: #FF0000;
    color: #FFFFFF;
}

::-moz-selection {
    background: FF0000;
    color: #FFFFFF;
}

EDIT: 
::selection {
    background: #FF0000;
    color: #fff;
}

::-moz-selection {
    background: FF0000;
    color: #fff;
}

Is also not working :/
It's very likely that you're still seeing cached content, clear your cache Straxedix.

Oh and you're missing a # before FF0000.
Hmm, i tested it on default theme and it is working...Why not on my theme too ?

Theme i am using: https://community.mybb.com/mods.php?action=view&pid=357

Okay, it works now. I cleared cache, thanks a lot. I gave you both +Reputation and i hope you have a great day ! 
@Wage can i please add you to buddy list ^_^ ?
Sure, no need to ask for permission. Glad you got it fixed.