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

Hope: Logo change when scrolling

Asked by Deich8 1 year ago Last activity 1 year ago

Hello,
How can I make the logo change when scrolling in the Hope template?
Best regards,
Ingo

Accepted answer

Marked as the solution
Rashida Rahman Staff

Hi there!

Thanks for reaching out.

Please use the following code in your custom CSS:

#sp-header.menu-fixed .logo img { opacity: 0; }
#sp-header.menu-fixed .logo a { background-image: url(http://relaunch.deich8.de/images/startseite/knoten2.svg); background-repeat: no-repeat; background-size: contain; }

I have used a random image link from your site, so please replace the image link with your desired one.

Hope this helps!

Best Regards

7 more replies

Deich8 Asked this

Thank you for the quick reply, it works.
Can I also change the menu colors while scrolling?
Best regards,
Ingo

Rashida Rahman Staff

You're welcome Ingo :)

Here is the sample code:

#sp-header.menu-fixed .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span{
    color: green;
}

Best regards,

Paul Frankowski Senior Staff
1 year ago · edited

Can I also change the menu colors while scrolling?

Menu items color or Header background color ?? You're webmaster not beginner - use more details.


In general, the key is "#sp-header.menu-fixed" class .menu-fixed that is used for header (in all Helix3 templates) when header is scrolled down and is still visible.

Please copy& paste to your notepad to remember for the future ;)

Rashida Rahman Staff

Actually, .header-sticky class is for Helix Ultimate and .menu-fixed class is for Helix3 in general.

Rashida Rahman Staff

Hello Ingo,

Please let us know if the responses was helpful. And if there are no related issues lefy, you may accept the most useful answer in order to close the post.

Best regards,

Rashida Rahman Staff

Hi Ingo,

Didn't hear anything back from you anymore...

Rashida Rahman Staff

Thanks for accepting the answer:)

Have a nice day!

Log in to reply.