Active Link In Second Top Menu - Question | JoomShaper

Active Link In Second Top Menu

C

Christopher

Helix Framework 3 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

0
5 Answers
Pavel
Pavel
Accepted Answer
3 years ago #8863

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.

0
Pavel
Pavel
Accepted Answer
3 years ago #8859

Hi. Try this code.

.sp-module ul > li.active > a {
    color: #c00000;
}
0
C
Christopher
Accepted Answer
3 years ago #8861

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

Best regards, Christopher

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #8864

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; }
0
C
Christopher
Accepted Answer
3 years ago #8865

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

Christopher

0