Shape 5

General Category => Wordpress Talk => : thaimacky August 15, 2015, 04:59:12 PM



: smooth scrolling to anchor points
: thaimacky August 15, 2015, 04:59:12 PM
is there a feature i can activate to get smooth scrolling to anchor points (like the back to top feature)?
in a shape5 joomla website i made before (it was the soul church template) this smooth scrolling just happened without activating anything.


: Re: smooth scrolling to anchor points
: mikenicoll August 16, 2015, 07:29:35 PM
Hello,

Are you using an s5 ID to scroll to? Something like

#s5_top_row1_1

This is a requirement for the smooth scroll detection.

Regards,


: Re: smooth scrolling to anchor points
: thaimacky August 18, 2015, 05:18:45 AM
...nope :(

the idea was to hyperlink the readon boxes on the front page of the incline theme to an anchor point further down that page (for example the first title on your sample page "OUTDOOR ENTHUSIASTS")...


: Re: smooth scrolling to anchor points
: thaimacky August 18, 2015, 11:40:12 AM
...ok, i changed the anchor to an s5 ID. it's a little bit less flexible but it works...
cheers


: Re: smooth scrolling to anchor points
: thaimacky August 18, 2015, 12:45:11 PM
...hmmm - one thing still bothers me: when i click on the link and the site scrolls down to that anchor point the url then is (of course) ".../something/#s5_top_row1_area1".

the website i am working on will have quite a large homepage with lots of different anchor points. like this the visitor will constantly see an s5_ID in the address bar which has nothing to do with the content of the website... :(

any workaround for this?


: Re: smooth scrolling to anchor points
: mikenicoll August 19, 2015, 08:07:19 AM
Hello,

Unfortunately that is one of the detection triggers and is required.


: Re: smooth scrolling to anchor points
: thaimacky August 19, 2015, 10:46:34 AM
...ok - found a free plugin that works very well and does not add anything to the address bar... i can even scroll the the s5 anchor points and change scroll time and use different animations...neat...
cheers


: Re: smooth scrolling to anchor points
: mikenicoll August 19, 2015, 01:27:37 PM
Let us know if you have any further questions


: Re: smooth scrolling to anchor points
: Festivert August 15, 2016, 05:26:39 AM
...ok - found a free plugin that works very well and does not add anything to the address bar... i can even scroll the the s5 anchor points and change scroll time and use different animations...neat...
cheers

Would you mind sharing the free plugin that you are using?


: Re: smooth scrolling to anchor points
: thaimacky August 15, 2016, 05:39:36 AM
sure - it's this one: https://wordpress.org/plugins/page-scroll-to-id/