Alexgaw Posted May 11, 2014 Share Posted May 11, 2014 HI, How can I make the top menu links active? It works for category links but not for Home or New products link type. Thanks /Alex Link to comment Share on other sites More sharing options...
vekia Posted May 11, 2014 Share Posted May 11, 2014 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 More sharing options...
Alexgaw Posted May 11, 2014 Author Share Posted May 11, 2014 Hi, Can you post a solution please. I am happy to modify the php file. Cheers, /Alex Link to comment Share on other sites More sharing options...
Recommended Posts