Active Link doesn't work

Any Idea for me …?
I set all links to the color white … But the Nav Links I set to Grey. No I want to display the active page in the Navbar in white.

So I set a class called active - and put in the preferences …
It doesn’t work. Not sure why ?

thanks
tom

Jep. All the steps …
I have set a link color in the main settings … when I delete this it will work …
think this is the problem

I think this will overwrite the class

but the problem is that I need to set the link color to white, the nav links to grey, and a active link to white …
so what is the solution ?

How have you styled the nav?

Hi @PeteSharp
I set it in the preferences …
Bildschirmfoto 2022-04-05 um 19.42.59

tom

@PeteSharp
the wrong way? Also try to set menu to “none” and style each button. Same problem …

I struggled the other week to do an underline on an active link, which I have never had before - but my client ended up not wanting it anyway !

Hi @AdieJAM
Ok, but I think this should be basic adjustments inside blocs. And the active class should still work also wenn I set a navbar color or Link color.

If you look at the browser inspector is it being overridden. ?

In which case there is an easy “fix” well not so much a fix but a method. I’ve posted it before on the forum. But I’m on my phone.

Hi @PeteSharp
Not sure - have to check it first
Tom

When you export the site are you combining js files? I had a problem a while back that prevented active from working if js files were combined. It seemed like a bug. Unchecking that box fixed the problem. (It may have been combining css files. I can’t quite remember)

1 Like