Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Scroll problem with anchor link and accordion

Home / Forums / Membership Forums / Scroll problem with anchor link and accordion

This topic is: Not a support question
[Not a support question]
March 9, 2020 at 8:40 am

Hello Kadence Suppor Team.

I need some help with an accordion block.

I set up a link called ‘Maternity Tour & Orientation’ with the anchor #babylp-take-tour. This link scrolls correctly to an accordion located on the same page. The accordion has the id ‘babylp-take-tour’. The problem is that after the anchor link is clicked the screen scrolls correctly to the accordion, but then the screen scrolls back to the top of the page.
I searched into the code and figured out that the issue is fired in the function ‘kt_accordion_scrollTo’ located inside the function ‘kt_anchor_accordion’ at the file kt-accordion.js

This is the page

  • The forum ‘Membership Forums’ is closed to new topics and replies.