Mobile app version of vmapp.org
Login or Join
Sims2060225

: How to define the background color of this side menu? I've added a side menu successfully but when i want to change the color of it it doesn't work. The mid of the menu is still another

@Sims2060225

Posted in: #Css #Html #Menu

I've added a side menu successfully but when i want to change the color of it it doesn't work.
The mid of the menu is still another grey and i dont know what to do.
Tried to add style="background-color: grey;" but it didn't made any difference.

The Site I'm talking about

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sims2060225

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

If you want to change the middle grey colour, in the CSS look for the following block of code:

.sidebar-nav li {
text-decoration: none;
color: #fff ;
background: rgba(255,255,255,0.2);
}


then change the background line to whatever colour you want using that syntax or using the normal syntax:

background-color: #F5F5F5 ;

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme