Solved

scroll to section doesn't work with pagefly product page

Karenuh
Tourist
9 1 4

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.

Accepted Solution (1)

PageFly-Richard
Shopify Partner
4338 989 1644

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:

TroubleShooting training - Google Docs 2021-08-16 08-45-26.png

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!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 2 (2)

PageFly-Richard
Shopify Partner
4338 989 1644

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:

TroubleShooting training - Google Docs 2021-08-16 08-45-26.png

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!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

Karenuh
Tourist
9 1 4

thanks, it works!