Hi,
Please follow these steps:
1- Open this PHP file:
/templates/flexible_sportmart/html/mod_virtuemart_category/default.php
2- find these lines:
<li>
<span class="fa fa-angle-right"> </span> <?php echo JHTML::link($caturl, $cattext); ?>
</li>
3- Replace them with these:
<li <?php echo ($child->virtuemart_category_id == JFactory::getApplication()->input->get('virtuemart_category_id')) ? 'class="active"' : '';?>>
<span class="fa fa-angle-right"> </span> <?php echo JHTML::link($caturl, $cattext); ?>
</li>
4- find this line:
5- replace it with this:
<div class="link <?php echo ($category->virtuemart_category_id == JFactory::getApplication()->input->get('virtuemart_category_id')) ? 'active' : '';?>">
6- open this CSS file:
/templates/flexible_sportmart/css/custom.css
7- insert these lines:
li.active > a,
div.active > a { color:red; text-decoration:underline;}
If you don't like the red & underline styling, you can add your own CSS rules to customize it. Just use the same CSS class names but add your own custom CSS rules in it.
The result will be:
Attachment ScreenShot2016-10-17at1.14.03AM.png not found
Attachment ScreenShot2016-10-17at1.13.57AM.png not found
Attachment ScreenShot2016-10-17at1.13.50AM.png not found
If you like SportMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Joomla-Virtuemart-Templates/SportMart (this is our website, you don’t need to register to write review, you can use your existing account with us)
Rate SportMart and write a couple of sentences to share your experience with the support team.
It won't take more than 2 minutes from you but it is extremely important for us.
Thanks in advance!
Regards,
Support