Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 08h 47m 40s
Claim 50% off
Solved Templates

How to change the color for the active link in the nav menu

Asked by Nabora 4 years ago Last activity 4 years ago

Hello,

I want to change the color for the active link in the nav menu (item) in the template GAZETTE.
Where can I do this?

Thanks for your help.

PS. I would like each item to be on a different color background.

Accepted answer

Marked as the solution
Ariba Staff

You are welcome.

In that case from "Template Options" -> "Navigation" -> "Menu Builder" -> edit mega menu option for each menu and provide a custom css class like shown in the screenshot below.

gazette-active-menu-color-1.JPG

And write custom css for each class like this:

.menu-home.active > a {
    color: #000;
}

Hope this helps you.

4 more replies

Ariba Staff

Hello

Thank you for your query.

Please go to "Template Options" -> "Presets", then from edit preset option find the "Menu Text Active Color" and change the color code.

gazette-active-menu-color.JPG

Hope this helps you.

Nabora Asked this

Thank you but I would like to change the color of EACH ITEM.

For example: RED color for HOME, YELLOW color for NEWS, BLUE color for SPORTS…

An idea ?

Nabora Asked this

Great, thanks a lot !!!!

Ariba Staff

You are most welcome :)

Log in to reply.