Reply To: Active Tags

#88
Support
Keymaster

Oh, got it.

You can do that on javascript, the code would be something like this:


var url = window.location;

$('#mainMenu a').filter(function() {
    return this.href == url;
}).parents("li").addClass('active');

Add this in the theme.js file, under the “events” or “build” function.