Archived topic
onepage, back from post
11 replies · Started by Gonzalo on March 5, 2020
hi there,
I need to do the following:
On a onepage, I have a news section.
When going to news, show the blog normally.
But, when returning to any onepage menu, you should return to each section smoothly.
I know that GP does not have this option, but can you help me?
Hi there,
Maybe try a plugin like this?
https://en-ca.wordpress.org/plugins/jquery-smooth-scroll/
If not you will need to try all the smooth scroll plugins/scripts available out there to see which one can achieve what you are looking for.
thank you Leo, but how I can return to link my-onepage-site.com/#services, from blog or post?
I'm not quite sure if I understand.
Isn't that just an anchor?
yes it's, from blog or post, click on menu "services" and go to home - onepage anchor my-onepage-site.com/#services
So it's actually going to a different site? I'm not sure if that's possible unfortunately.
You will need to check with the support of the smooth scroll plugin you are using.
not different site.
It's a onepage site with news section (menu)
If you are in news, click menu -> go to home onepage anchor link.
Do you have an example that you can show me?
sure, look https://themeisle.com/demo/?theme=Hestia
go to menu - section - blog
click on firts news, you enter the news
then, go to menu - section - blog
the links are working!
Yup it's just using an anchor in the menu item link:
https://www.screencast.com/t/YwlFWwU2c
Which corresponds to this section:
https://www.screencast.com/t/Rmy9iVUYvF65
thank you Leo.
for this link to work, it must be added all url in menu:
https://my-onepage-site.com/#services
not like that:
#services
Best regards
No problem :)