Changing Colour Of Menu Items Based On Page - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Changing Colour Of Menu Items Based On Page

D

damian

SP Page Builder 2 years ago

is it possible to assign menu and colours based on the page

e.g. on my site at www.936.se everything works as i'd like on the homepage .. but as soon as you go to a sub page i.e. https://936.se/about-us as the menu is white you don't see it

so i'd like to either change the colour for homepage or all other pages ..

is this possible via page builder??

0
5 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #112586

Hi there!

Thanks for contacting us.

This doesn't have anything to do with SPPB but with template.

You can try the following code in your custom CSS to change your menu item color for every pages:

#sp-menu .sp-megamenu-parent>li>a {
    color: #d95d5d !important;
}

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

Or, If you want different color for different pages, then you need to duplicate/copy your template style and assign the pages through the menu assignment tab.

https://prnt.sc/pS_mKkGYOxP5

https://prnt.sc/C1or7RMI084l

https://prnt.sc/Oo43ON8TOyLB

Hope this helps!

Best Regards

0
D
damian
Accepted Answer
2 years ago #112595

I've not done it .. but this seems logical. I'll try. Thanks

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #112702

You are always welcome:)

Have a nice day!

0
D
damian
Accepted Answer
2 years ago #112843

This worked, thank you.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #112845

Happy to help and Glad that it worked :)

0