MyBB Community Forums

Full Version: How do I make it so that when I put my mouse over text, it goes into a diff color
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I think it's like css or something, where when you put a mouse over a text like a username, it goes in a darker color
Use the following css, obviously replacing the div id or class with the real id/class.

.post a:hover {
	color: #000; /* Replace with New Color */
}

that should do the username though. This isn't tested, but should work.
(2013-02-28, 02:50 AM)Init Wrote: [ -> ]Use the following css, obviously replacing the div id or class with the real id/class.

.post a:hover {
	color: #000; /* Replace with New Color */
}

that should do the username though. This isn't tested, but should work.

Would I add that to global.css?
Yes you would.
(2013-03-02, 08:38 AM)Tindris Wrote: [ -> ]Yes you would.

Still underlined Sad
You didn't mention underlined in your post. What exactly is the problem?
(2013-03-02, 08:15 PM)Tindris Wrote: [ -> ]You didn't mention underlined in your post. What exactly is the problem?

I meant, when you put your mouse over the username, it's underlined
That has nothing to do with the colour, use this:

.post a:hover {
    text-decoration:none;
}
(2013-03-02, 10:00 PM)Tindris Wrote: [ -> ]That has nothing to do with the colour, use this:

.post a:hover {
    text-decoration:none;
}

.post a:hover {
    text-decoration:none;
    color: #000;
}

Use that if you want no underline and color change.