How to disable the Auto Scroll to Tabs on mobile

This topic has 9 replies, 2 voices, and was last updated 1 years ago ago by Rose Tyler

  • Avatar: blockteq
    blockteq
    Participant
    November 5, 2023 at 09:40

    Hello,

    On mobile when loading a product page the page auto scrolls to the first tab that is open. I’m guessing using some sort of jscript. How do i disable this?

    8 Answers
    Avatar: blockteq
    blockteq
    Participant
    November 5, 2023 at 09:44

    By the way I know you can close the first tab but i would like this to be open… if possible.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 5, 2023 at 11:49

    Hello, Blockteq,

    Thank you for contacting us and for using XStore.

    Please provide URL and temporary wp-admin access to your site so we can take a closer look at your settings.

    To provide wp-admin access, you can create a new user account with administrator role via the Dashboard, and provide us with the username and password via the Private Content area.

    Kind Regards,
    8theme team

    Avatar: blockteq
    blockteq
    Participant
    November 5, 2023 at 15:41

    Please see private content area.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 5, 2023 at 16:12

    Hello, Blockteq,

    Thank you for contacting us and for using XStore.

    We can’t open your site – https://prnt.sc/Md0a8CMrrKLu , unfortunately.
    Could you, please, unlock the site for Ukraine?

    Kind Regards,
    8theme team

    Avatar: blockteq
    blockteq
    Participant
    November 5, 2023 at 16:17

    Ahh yes I have added UA/Ukraine to the list so you should be able to access it now! Thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 5, 2023 at 16:43

    Hello, Blockteq,

    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.

    Kind Regards,
    8theme team

    Avatar: blockteq
    blockteq
    Participant
    November 5, 2023 at 16:50

    That’s worked! many thanks for your help!!!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 5, 2023 at 16:52

    Hello, Blockteq,

    You’re welcome!

    We would be grateful if you could take a moment to rate our product – https://themeforest.net/downloads – with 5 stars on ThemeForest!

    Kind Regards,
    8theme team

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

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

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