1. galbur
  2. Commercial Templates
  3. Monday, 23 July 2018
  4.  Subscribe via email
Hi

I have some problems with the css active state of the main menu.
When i hover over the parent everything is ok and i see the submenu with the right background- and hover color (s. printscreen1).
When i click on the parent every submenu-item has now the color of the active state (s. printscreen 2)

How to fix that?
Thank you
Christoph
Attachments (2)
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of this issue?

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi and thank you

Here's the URL:

http://neu.be-freelance.net/

Christoph
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you Christoph

To amend you can add the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....

.hornav ul ul li.active ul a {
color: inherit;
background-color: white;
}
.hornav ul ul li.active a:hover {
color: white;
background-color: rgba(175, 194, 41, 0.9 );
}


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran

Thank you very much! Now i'm almost there.
The only thing ist the missing active state in the sub-sub menu.

Kind regards
Christoph
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Christoph

To amend you can also add the following..

.hornav ul ul ul li.active a {
color: #fff !important;
background-color: rgba(175, 194, 41, 0.9 ) !important;
}


Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • Page :
  • 1


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