button to a specific part of a website / navigating through pages
-
Hello there!
I've found on the documentation that there's a way to navigate to a specific part of the website.I've got 2 questions:
- Can the buttons be in the menu? How can I change the specific menu link making it an anchor?
- Is it possible to navigate from a page to another, scrolling down to a specific part
In the Projects page (now it's not active because I cant simulate it on figma): I click on Statement and I go back to the homepage but arriving at the specific part of the home where the statement begin.
Not sure it's clear.
Thank youAll the best
Roberta
-
- yes!
just add #anchor
your anchor to the end of the URL.
i think it has to be a custom link:in URL write: http://mywebsite.com/#statement
or whatever is your homepage URL and id of the statement section
2.Is it possible to navigate from a page to another, scrolling down to a specific part
no
-
Dear Armin
2.Is it possible to navigate from a page to another, scrolling down to a specific partno, even with custom coding?
-
do you mean:
im on a page and scroll down, and by scrolling i arrive on a different page that has a different URL?
-
Yes like on the figma here
https://www.figma.com/proto/KPcBYS3Q8vumUYLFCJX0nv/LANDCHO?page-id=0%3A1&node-id=27-452&viewport=-56764%2C13178%2C1&t=boF3sqPENgosFrJ4-1&scaling=scale-down&content-scaling=fixed&starting-point-node-id=27%3A452&show-proto-sidebar=1i click the button more projects or i'm inside a project for example,
if i click on the menu on "how we do it" I go back to the homepage (so i change url) but I land exatly to the height of the section "how we do it" and not to the top. -
i mean u click on a button to go to a different page
if you want to click on a button, or a menupoint AND want it to land at a certain scoll position:
it needs to have the url of where you want to go and at the end the #section
like:
http://mywebsite.com/#sectionthen if u click the link it will be at where the #sectionsection is
-
so i could do that the menu, on the sub-page (not the homepage) is linked to
http://mywebsite.com/hompage/#section
So i just need to customize 2 different menu, one for the onepage-home that just scroll down to the same page (without reloading /homepage) and one for the sub-pages (es projects or project detail) that is linked to the homepage and scroll down basically.
Will try and let you know, but you confirm I can pass from one page to another AND scroll down to a specific position.
thank you -
yea
u can set it up and if you have issues:
Can you please send:
- a link to this forum topic
- your website address
- /wp-admin/ username and password
to: info@laytheme.com
but please in ur email tell me exactly which buttons/menu points should scroll where with URLs and screenshots so i dont have to guess and search around
I also code custom websites or custom Lay features.
šæ Email me here: šæ
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options ā Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it