1. Tralala
  2. Sherlock Holmes
  3. Commercial Templates
  4. Monday, 08 February 2016
  5.  Subscribe via email
I thought template Enterprise would fit my needs for a new website. And it does, with a lot of css-modifications.
See http://birukai.alstest.nl/

But I came into a problem.
I gave li:hover a gradient color - no problem. And I would give li:active the same.
But I can’t find a way to set the same gradient for the active state of a menu-item.
Enterprises css for hornav is so complicated…

Is anybody much more famliar with this set of css, and knows how set li:hover (or how to name it) having a color-gradient?
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Tralala

In your templates Custom CSS try changing the following...


.hornav > ul > li:hover {
background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.9) 100%) repeat scroll 0 0;
}


To....


.hornav > ul > li:hover, .hornav > ul > li.active {
background: rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.9) 100%) repeat scroll 0 0;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Yes Ciaran, that's it!
Thanks.
Dank u wel.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!