Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 15d 07h 20m 36s
Claim 50% off
Staff replied Templates

Template Floox change color active Menue item

Asked by Britta Freytag 3 years ago Last activity 3 years ago

Hello,
how could i change the color of the actice menue item in the templat floox with latest joomla 4

Thanks

3 replies

Rashida Rahman Staff

Hi there!

Thanks for contacting us.

Did you mean the background color of menu items or the text color of them?

Here are both codes for you- active plus hover:

.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li:hover > a {
    background-color: blueviolet !important;
}
.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li:hover > a {
    color:blanchedalmond !important;
}

Please put them in the custom CSS and check with your desired color in the code.

Note: Path towards custom CSS(Joomla 4): System>Site Templates Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

https://prnt.sc/5mBuSRh907N3

https://prnt.sc/ooiq-lkMEXr_

https://prnt.sc/nunlX-f5AhK1

Best Regards

Britta Freytag Asked this

Thank you, that works fine for me.

Rashida Rahman Staff

Glad that it helps and you are always welcome:)

You may accept the most useful answer in order to close the post.

Have a nice day!

Log in to reply.