Active link in second top menu - Forum | JoomShaper
Solved Helix Framework

Active link in second top menu

Asked by Christopher 5 years ago Last activity 5 years ago

Hi there,

I created a second top menu withourd submenu as described in the FAQs and added some custom code. Unfortunately I am not able to set a active link colour in the submenu. Maybe someone has an idea how to get this working? Here is the Website: www.thegrandjam.com (second top menu is the one with the white background).

Best regards and thanks in advance, Christopher

Accepted answer

Marked as the solution
Pavel

You have a bug in your previous code that prevents all of the code after it from working - a parenthesis instead of a curly brace.

4 more replies

Pavel

Hi. Try this code.

.sp-module ul > li.active > a {
    color: #c00000;
}
Christopher Asked this

Hi Pavel, thank you!
I tried (in custom.css, and also with an !important) but it still doesn`t work..

Best regards, Christopher

Paul Frankowski Senior Staff
5 years ago · edited

Hi Chris.
I guess you thought about menu in grey bar, in that case below code must be used:


.sp-module ul.menu.nav li.current > a 
{color: #c00000; }
Christopher Asked this

Wow, Guys, thank you so much for your fast reply - that solved my problem! Have a nice day, and best regards!

Christopher

Log in to reply.