March 10, 2013 at 4:40 am
#88
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.