Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Joomla - how to hightlight the menu item for active page

Tags:

joomla

How do you highlight the menu item of the active page?

Thanks! Steph

like image 610
Steph Avatar asked Dec 28 '22 09:12

Steph


2 Answers

Please use following Css to Highlight selected/ active/ Current menu item

.menu ul ul{padding-left:10px;}
.menu ul li.active a{font-weight:bold;}
.menu ul li.active ul a{font-weight:normal;}
.menu ul li.active ul li.active a{font-weight:bold;}

This will work 100%.

like image 76
Sajid Avatar answered Jan 04 '23 18:01

Sajid


AFAIK the active menu position should have a special css class assigned to it. The class is probably called "active". You can target this class with some css rules and you should be done.

like image 39
silvo Avatar answered Jan 04 '23 17:01

silvo