1. queback
  2. Commercial Templates
  3. Thursday, 17 September 2015
  4.  Subscribe via email
Hi Claran,

I'd need to highlight a particular main menu item when we click on different links towards articles.
I have a module in which there are many links, each link goes to an article but the client wants to highlight one on the 3 main menu item depending on the product category.
I explain, we have products for Cranes, Heavy Machinery and Offshore. The good category has to be highlighted in the main menu when we click on one of these links. For now, it doesn't work, the highlighted menu item is the last we've clicked before in the main menu.
A picture would help I'm sure. In the first example, the product is an Offshore product but that's the cranes section that is highlighted, not good.
Is there a way, maybe through custom CSS, to choose which menu item should be highlighted ? It would be of great help so thanks in advance for your time!
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

You could try something like the following which will set the color to your current menu items (edit to taste)...


li.current a {
color: #B30D00 !important;
}


This will set the color to all current menu items on a page however this can be refined to a particular menu with some CSS if needed.

CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks for your answer, I'm not sure to understand but I will try a bit before annoying you once more!
Regards
  1. more than a month ago
  2. Commercial Templates
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok