• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Submenu item hovering changes to a whole different color

Sleet

Member
Joined
Sep 3, 2016
Messages
109
Solutions
2
Reaction score
9
I have been playing a little bit with the basic.css and I found out a problem.

I wanted to change the default background color of the submenu to a blue one and I did it by changing this code:

CSS:
.Submenu {
  position: relative;
  margin-left: 5px;
  margin-right: 5px;
  background-color: #0b1b33;
  width: 160px;
}

The problem is that, when I hover the mouse over, it changes to a light green color and then to a dark green color after I take my mouse away from it and it stays that way.

How can I fix it?

I'll post my basic.css here

Up.
 

Attachments

Last edited by a moderator:
It's a good ide to serach for the "name" - Submenu

In this case on lines 505-509:
CSS:
.Submenu a:link    { color: #456287; text-decoration: none; }
.Submenu a:visited { color: #456287; text-decoration: none; }
.Submenu a:focus   { color: #456287; text-decoration: none; }
.Submenu a:active  { color: #5280b8; text-decoration: none; }
.Submenu a:hover   { color: #5280b8; text-decoration: none; }

Delete them or just "active", "focus" and "hover"
 
It's a good ide to serach for the "name" - Submenu

In this case on lines 505-509:
CSS:
.Submenu a:link    { color: #456287; text-decoration: none; }
.Submenu a:visited { color: #456287; text-decoration: none; }
.Submenu a:focus   { color: #456287; text-decoration: none; }
.Submenu a:active  { color: #5280b8; text-decoration: none; }
.Submenu a:hover   { color: #5280b8; text-decoration: none; }

Delete them or just "active", "focus" and "hover"

I also changed these colors to blue. If you check on Photoshop, these colors are blue.

If I find any solutions I will post it here.
 
Back
Top