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

Finion Template Q2

Asked by Tom Mitchell 5 years ago Last activity 5 years ago

In Finion, I changed the background color of the menu when it overflows, i.e. when you scroll down the page. What I now need to do is change the font color whilst the menu is in overflow ( sticky). The following css does change the font color, but it changes it globally when both static sticky.

.sp-megamenu-parent > li > a {
color: white;
}

Is there a way that I can split the font color beween static and sticky ?

Accepted answer

Marked as the solution
Rashida Rahman Staff
5 years ago · edited

Here is the sample code you need to put on your custom CSS:

#sp-header.header-sticky .sp-megamenu-parent>li>a {
    color: white;
}

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

Best Regards

3 more replies

Rashida Rahman Staff

Hi there!

Thanks for contacting us.

Would you please give me your site URL here?

Best Regards

Tom Mitchell Asked this

URL in the hidden content. I was missing the "#sp-header.header-sticky". Thanks for your help.

Rashida Rahman Staff

I have visited your site and see you have done the changes already:)

You may accept my answer in order to close the post and you are always welcome!

Log in to reply.