Home How to stay hover color after pressed
Reply: 0

How to stay hover color after pressed

user1217
1#
user1217 Published in June 19, 2018, 11:59 pm

I'm using sahifa theme.I set special css for each buton on main menu.But something block my code and it's back to orjinal theme color blue.

I tried every rules

    /* Altinci Menu */
.altinci-nav{

    /*background-color: #866;*/
}   

.altinci-nav:hover {
  background-color: #8c5de4;    
}

/*ul li.altinci-nav a,*/
.altinci-nav ul li a:hover,
.altinci-nav ul li a,
.altinci-nav ul li:hover > a,
.altinci-nav ul li:active,
ul li.altinci-nav:active{
    background-color: #8c5de4;
}
.altinci-nav:active {
  background-color: #8c5de4;    
}
.altinci-nav:focus {
  background-color: #8c5de4;    
}

.altinci-nav:select{
     background-color: #8c5de4; 
}

.altinci-nav:after{
     background-color: #8c5de4; 
}

I look with firefox web developer tools and it's show problem that.

#main-nav ul li.current-menu-item a,
#main-nav ul li.current-menu-item a:hover

So I make comment this lines bu nothing change

UPDATE

 #main-nav ul li.current-menu-item a, 
    #main-nav ul li.current-menu-item a:hover{ background-color: transparent !important; }

Thank you.Claudiu D.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.32924 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO