Change Website Logo with OnScroll

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Dali
 
 
Posts: 20
Joined: Wed Nov 23, 2022 10:57 pm

Change Website Logo with OnScroll

Post by Dali »

I want to show an logo when the page hasn't been scrolled yet (with a black background, but it doesn't matter).
When the page is scrolled down, a different logo should be displayed (it's basically the same thing but with a transparent background).
When the page is back in the scroll starting point, the first image should be displayed again.
Like on this page:
https://divi-tutorials.com

is this possible in WWB? If yes, how? I hope you can help me :-)
User avatar
Pablo
 
Posts: 23602
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Change Website Logo with OnScroll

Post by Pablo »

Dali
 
 
Posts: 20
Joined: Wed Nov 23, 2022 10:57 pm

Re: Change Website Logo with OnScroll

Post by Dali »

I will try it, okay, Thanks!!
Dali
 
 
Posts: 20
Joined: Wed Nov 23, 2022 10:57 pm

Re: Change Website Logo with OnScroll

Post by Dali »

Have tried for a long time. It is not possible.
This is not possible with the proposed solutions.

The image/logo should change when the website is scrolled up. If I scroll down the page, the first logo should be displayed again.
Similar to the rollover feature when I move the mouse over it.

Under the "Animations - Transitions" function, I can't find any way to change the image.

Under property I only find "background-image" but I don't understand what needs to be entered in the "Value" field.
That is very confusing.
I would like to get this effect, like on this website:
https://divi-tutorials.com
Here you can see that the logo changes when the page is scrolled up.
User avatar
BaconFries
 
 
Posts: 5978
Joined: Thu Aug 16, 2007 7:32 pm

Re: Change Website Logo with OnScroll

Post by BaconFries »

Have tried for a long time. It is not possible. This is not possible with the proposed solutions.
It is possible as you can see with the following example template. Note it is not exactly what you are asking but you will see it hides/shows the header when you scroll. The difference is you are wanting to use a logo (image) to the left were the example is text. So in theory the principle is the same
https://www.wysiwygwebbuilder.com/suppo ... world.html
User avatar
Pablo
 
Posts: 23602
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Change Website Logo with OnScroll

Post by Pablo »

Here's an example where the logo is hidden when you scroll by changing the opacity and scale:
https://www.wysiwygwebbuilder.com/suppo ... wizzy.html
User avatar
crispy68
 
 
Posts: 3090
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Change Website Logo with OnScroll

Post by crispy68 »

On the site you are looking at they are not swapping out 2 images for the logo. They are using the same image. All they did was apply a filter to the image when at the top to make it look white and then remove the filter when you scroll down.

Maybe this would work?
http://www.wysiwygwebbuilder.com/forum/ ... ix#p476666
Post Reply