Jump to content

Top menu active class for created links


Recommended Posts

unfortunately it's not easy as it seems.

contents in block top menu is generated in php file, not in .tpl files as in other modules.

 

in this case it's necessary to modify main php file of this module, tehre where the links are generated you have to use if condition to check what page is browser, and if page that you browse is equal to the link url you created - add class="active"

 

at the moment there is no other way to achieve what you expect.

Link to comment
Share on other sites

×
×
  • Create New...