Clicking on Add-to-cart button on mobile, auto scrolls the user to description tab

This topic has 2 replies, 2 voices, and was last updated 27 minutes ago ago by Rose Tyler

  • Avatar: finleydesign
    finleydesign
    Participant
    February 7, 2025 at 11:26

    If you are on the product archive page and click add to cart to go to the main single page, on mobile the page auto scrolls

    Content is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 7, 2025 at 13:45

    Hello,

    Thank you for reaching out to us.

    Please try to add the next code in your child-theme/functions.php
    add_filter('etheme_autoscroll_single_tabs_on_mobile', '__return_false');

    Clear the cache of the mobile browser and check the result.

    We do not see a child theme on your site, you can download it from this page – https://www.8theme.com/account
    Please note that the child theme does not inherit the theme options of the parent theme, if you enable the child theme, you need to import options from the parent theme.
    Go to Theme Options (when the parent theme is activated) > Import/Export > download the export file. After that activate the child theme (Appearance > Themes) > go to Theme Options > Import/Export > import your options and reload the page without saving! Save options only after reloading. Check your site after that, and use the child theme.

    Best Regards,
    8Theme’s Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.