Smooth Scroll

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
User avatar
zinc
 
 
Posts: 2194
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Smooth Scroll

Post by zinc »

Pablo

How can I achieve the same smooth scroll as on this site? The page seems to glide.

https://www.latitudecreative.co/about

Z
Proudly running WYSIWYG Web Builder since 2007...

https://50yearsofads.com/
User avatar
Pablo
 
Posts: 24817
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Smooth Scroll

Post by Pablo »

This is not a standard HTML feature. it's a third party script called Lens:
https://github.com/darkroomengineering/lenis

You can add this to your WWB pages by copy/paste the 3 lines of code to Page HTML.

Note this this will add some extra loading time to your pages.
User avatar
zinc
 
 
Posts: 2194
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: Smooth Scroll

Post by zinc »

Thank you Pablo - I think the loading time is worth it !!! :D
Proudly running WYSIWYG Web Builder since 2007...

https://50yearsofads.com/
bkjohns
 
 
Posts: 310
Joined: Wed Nov 14, 2018 5:54 pm

Re: Smooth Scroll

Post by bkjohns »

There demo doesn't work in Firefox for me. Latest version. Works fine in Edge.
User avatar
AliGW
 
 
Posts: 737
Joined: Thu Dec 19, 2024 3:41 pm

Re: Smooth Scroll

Post by AliGW »

No, it doesn’t work in Firefox.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
User avatar
zinc
 
 
Posts: 2194
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: Smooth Scroll

Post by zinc »

The link was for demo purposes - please suggest one that works on most browsers if you know of one.
Proudly running WYSIWYG Web Builder since 2007...

https://50yearsofads.com/
User avatar
BaconFries
 
 
Posts: 6338
Joined: Thu Aug 16, 2007 7:32 pm

Re: Smooth Scroll

Post by BaconFries »

I agree the link was solely for demonstration only and is a issue with Firefox itself. Zinc try the following by inserting in Page HTML Between the <head></head> tags* and let me know

Code: Select all

<style>
html.lenis, html.lenis body {
  height: auto;
}

html {
  scroll-behavior: auto !important;
}
</style>
User avatar
crispy68
 
 
Posts: 3219
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Smooth Scroll

Post by crispy68 »

Unless i'm missing something, It seems to work the same in FF as it does Edge. If not, where do I need to look in their demo to see the difference?
User avatar
zinc
 
 
Posts: 2194
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: Smooth Scroll

Post by zinc »

BaconFries wrote: Sun Aug 02, 2026 4:26 pm I agree the link was solely for demonstration only and is a issue with Firefox itself. Zinc try the following by inserting in Page HTML Between the <head></head> tags* and let me know

Code: Select all

<style>
html.lenis, html.lenis body {
  height: auto;
}

html {
  scroll-behavior: auto !important;
}
</style>
As always very helpful - Thank you BF
Proudly running WYSIWYG Web Builder since 2007...

https://50yearsofads.com/
User avatar
zinc
 
 
Posts: 2194
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: Smooth Scroll

Post by zinc »

crispy68 wrote: Sun Aug 02, 2026 9:20 pm Unless i'm missing something, It seems to work the same in FF as it does Edge. If not, where do I need to look in their demo to see the difference?

I don't have FF, but as it certainly works on Edge as confirmed by Ron
Proudly running WYSIWYG Web Builder since 2007...

https://50yearsofads.com/
User avatar
zinc
 
 
Posts: 2194
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: Smooth Scroll

Post by zinc »

bkjohns wrote: Fri Jul 31, 2026 7:00 pm There demo doesn't work in Firefox for me. Latest version. Works fine in Edge.
It works perfectly.
Proudly running WYSIWYG Web Builder since 2007...

https://50yearsofads.com/
User avatar
Bluesman
 
 
Posts: 1271
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Smooth Scroll

Post by Bluesman »

zinc wrote: Mon Aug 03, 2026 6:14 am
BaconFries wrote: Sun Aug 02, 2026 4:26 pm I agree the link was solely for demonstration only and is a issue with Firefox itself. Zinc try the following by inserting in Page HTML Between the <head></head> tags* and let me know

Code: Select all

<style>
html.lenis, html.lenis body {
  height: auto;
}

html {
  scroll-behavior: auto !important;
}
</style>
As always very helpful - Thank you BF

This doesn't work for me. But the first one I got works in Edge and Chrome (The two I use):

<link rel="stylesheet" href="https://unpkg.com/lenis@1.3.25/dist/lenis.css">
<script src="https://unpkg.com/lenis@1.3.25/dist/len ... "></script>
<script>new Lenis({ autoRaf: true, autoToggle: true, anchors: true, allowNestedScroll: true, naiveDimensions: true, stopInertiaOnNavigate: true })</script>
"Make My Day"

See my Website
User avatar
zinc
 
 
Posts: 2194
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: Smooth Scroll

Post by zinc »

Thanks Blueman

In any case, "a kind of smooth scroll" would be a welcome feature in 21 (Which is the point I was trying to make in the first place) :)

Z
Proudly running WYSIWYG Web Builder since 2007...

https://50yearsofads.com/
User avatar
AliGW
 
 
Posts: 737
Joined: Thu Dec 19, 2024 3:41 pm

Re: Smooth Scroll

Post by AliGW »

There is smooth scroll already if you use bookmarks (anchors) - it's a tick box option in the properties box. It also works with menus.

Try clicking on menu icons on my camera club site - is this what you want? The speed can be changed.

https://www.eastipswichcameraclub.co.uk/index.php
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
User avatar
zinc
 
 
Posts: 2194
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: Smooth Scroll

Post by zinc »

AliGW wrote: Thu Aug 06, 2026 12:25 pm There is smooth scroll already if you use bookmarks (anchors) - it's a tick box option in the properties box. It also works with menus.

Try clicking on menu icons on my camera club site - is this what you want? The speed can be changed.

https://www.eastipswichcameraclub.co.uk/index.php
That is not what I was talking about. Totally different thing.
Proudly running WYSIWYG Web Builder since 2007...

https://50yearsofads.com/
User avatar
AliGW
 
 
Posts: 737
Joined: Thu Dec 19, 2024 3:41 pm

Re: Smooth Scroll

Post by AliGW »

OK. Well, it was a guess. Your example wasn’t working in my browser, as I said.

Good luck.
Ali
Retired, but still loving to learn & very busy.
https://alisongwright.me.uk
Novice with WWB, but was an avid user of Serif WebPlus before.
Fairly expert at Microsoft Excel (but not VBA) & Affinity by Canva (for page layout).
Post Reply