Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi, I'm building a product page with Pagefly and use scroll to section but when I click on the button, it just stays and doesn't scroll down to the section below.
How to fix this? Thank you.
Solved! Go to the solution
This is an accepted solution.
Hi @Karenuh
I also sent you a message via inbox that you sent. I've just checked the page you sent and the issue is Page do not scroll to the correct section
Please Add this code into Custom JS (find the header height and replace it with <<header height>>)
window.pf_accordion_offset = <<header height>>;
To find the header height, click on Inspect and hover over the header, for example:
So the code should be:
window.pf_accordion_offset = 144;
For more details, please contact us via Live chat
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hi @Karenuh
I also sent you a message via inbox that you sent. I've just checked the page you sent and the issue is Page do not scroll to the correct section
Please Add this code into Custom JS (find the header height and replace it with <<header height>>)
window.pf_accordion_offset = <<header height>>;
To find the header height, click on Inspect and hover over the header, for example:
So the code should be:
window.pf_accordion_offset = 144;
For more details, please contact us via Live chat
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
thanks, it works!