Highlight second Active Menu

Support desk for Multipurpose Quark Theme
GK User
Fri Dec 16, 2016 5:07 pm
Hi guys,

I´ve been working on a website with Quark. It´s awesome but I need some help on this:

The webpage has a second menu (based on virtuemart category menu), the primary menu highlight the active menu item, but in the second menu (virtuemart) don´t highlight on active item.

I tried this code on modules/mod_virtuemart/category/tmpl/default.php
Code: Select all
<?php
   $mydoc = JFactory::getDocument();
   $mytitle = $mydoc->getTitle();
   if ($mytitle === $cattext) {
      $active = 'class="active"';
   }
   else {
      $active = '';
   }
?>


But not work. Can you help me guys?
User avatar
Junior Boarder

GK User
Fri Dec 16, 2016 5:26 pm
I attach a image

Image
User avatar
Junior Boarder

teitbite
Wed Dec 21, 2016 9:27 am
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

teitbite
Thu Feb 02, 2017 4:35 pm
Hi

Sorry for delay. I've missed Your message somehow.

Add this to override.css

Code: Select all
#aside-menu li.active a {
    color: #fff;
}


make sure override is activated in template settings.
User avatar
Moderator

GK User
Fri Feb 10, 2017 2:16 pm
It works!!

Thanks for the solution teitbite!!
User avatar
Junior Boarder

teitbite
Tue Feb 14, 2017 5:41 pm
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron