Shopify themes, liquid, logos, and UX
Hi guys, I'm having issue with my store. When I click on one of the collapsible row lets say I click on description and then click on next collapsible row (specifications). I end up in the footer menu and I have to scroll up to see the collapsible row.
can someone help me with this issue?
here is the link for my store's product page.
Hi @SinghSells
The issue occurs because clicking on collapsible rows changes the page's scroll position due to anchor links or improper JavaScript handling. To fix this:
document.querySelectorAll('.collapsible-row').forEach(row => {
row.addEventListener('click', e => {
e.preventDefault();
});
});
3. Edit CSS (Optional): If smooth scrolling behavior persists, verify padding/margins around collapsible sections.
If you have other questions, I am willing to answer them more.
Best regards,
Daisy
Hi thanks for the response. However, where do I need to paste that given code above?
Hi @emink6
The issue likely arises because the website editor is set to preview the mobile version. This doesn't affect how the site appears to desktop users but can limit your editing view.
To resolve this:
If the issue persists, clear your browser cache or try another browser.
If you have other questions, I am willing to answer them more.
Best regards,
Daisy
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025