Answer the question
In order to leave comments, you need to log in
How to assign class="active" in a category?
Faced such a problem. There is a list of categories:
These categories are generated from the database. How can you give them class = 'active' ?
Answer the question
In order to leave comments, you need to log in
checking the path or checking the url in js
If you use a standard widget, then the answer is generally googled twice
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question