Hi there, I have read a bunch of the threads about adding an active class to the current “Tag” in a tagcloud. And so far none of it has worked…Any recommendation on how to add an active class class=“active” to this code?
Where you want to add the class… Could be on the li or the a tag. Since you li tag already has a class applied, you would have to adapt the code, if you want to add it there.
Hi there, I successfully got active tag working. But now I am trying to figure out how to make it so that when you land on the page, “ALL” is already underline (has the class “active”). Currently the filters only receive the under (class “active”) when I click on them.
Correct, the three tags I’m using are:
All, Solo, Group
And by default, all the shows are loaded, but I’d like it already to be highlighted even though technically, it’s not the filter “all”
Perhaps this isn’t the best way to use tags?
(I added “all” to every single show, so that when you click “all”, all shows will show up…if that makes sense.)
this is how I’m using it in the panel
Only thing is since I’ve added “All” and one other tag (either “Solo” or Group") to each item on that page, all the tags are now underlined at first with the code above. Do you recommend a better way to use the tags than assigning all with “all”? Or…hmmm.