How to stay on the same page while clicking on a locale link?

Oh yeah. It’s not once or twice I’ve had a stubborn current state. But there is a trick to it.

Just make a separate link element with the same class and without local list on some other page of the project. A style guide page would be a good place for this. There, you can edit the non-current style. Then, you can copy the element and link it to that specific page to get the current state. This way, you have both styles next to each other.

Styling should work on published site even if the designer shows the current tag in both links.

1 Like