Change the logo on scroll in Divi
ฝัง
- เผยแพร่เมื่อ 5 ม.ค. 2025
- When you use a transparent background in the header (using the Divi theme) and when you scroll you want to have a light or dark background, it can cause some conflicts. But using this trick you have your solution. By watching this video you learn how you can add 2 separate logos to your header. One logo for the to header when you don’t scroll and one logo for when the visitor scrolls to your website. This is a game changer for me, and I hope also for you!
Credits for the piano music:
Sad Piano Music
Wayve
• Sad Piano Music - Sear...
Many, many thanks Ferdy!! I was said about it as well! Now I have it!! I am very thankful for your work here! xx from Brazil.
Thank you, Ferdy! This worked like a charm. I couldn't find your CSS on your site but copied it directly from the video.
Great video! I was searching for this days ago and didn't find a so simple and powerfull explanation like this! Tks a lot!
Thanks!
The 'content' css declaration doesn't work in firefox or IE so this solution doesn't work in all browsers i'm afraid....
Just what I was looking for! Thanks Ferdy!
Man, you are reliable! Thanks!
How can I animate the logo to make that scale when you scroll down but using Elementor? Is possible?
How to do that on a custom header? And change the logo when the screen size is for a mobile device
this the best video.
awsome solution
Great job! But how about the nav-bar?
Thank you so much... Once it's done in my website... Will update you with another Thank You Note.. ☺️
Hi, is this still the best way to do this in 2024 ?
Thanks Ferdy
Hi Ferdy, top video! Dank voor de duidelijke uitleg. Vraagje: hoe kun je ervoor zorgen dat het logo direct veranderd als je naar beneden scrollt. Nu blijft (bij mij althans) het 1e logo een tijdje in beeld. Bedankt!
Thanks all your video's are very helpful. Can you pls show how to create login portal on website .
That would be great!
it is not working in firefox browser.
Thanks for helping us.
thanks very helpful video
Works in chrome, not in Firefox, Safari.
this is not working on firefox :(
how can I use it in elementor?
Thank you! This works great on the desktop. Is there a way to make it work on mobile also?
I Think you need to enable the sticky header on mobile
Thank you!
Funny start a like that 😃
First)