How to disable the Auto Scroll to accordion tabs?

This topic has 12 replies, 5 voices, and was last updated 9 months, 1 weeks ago ago by Andrew Mitchell

  • Avatar: Trektor
    Trektor
    Participant
    March 4, 2024 at 12:53

    Hello,

    when I load a product page that has been made with accordion tabs and click on any tab the page auto scrolls to the tab that is open. How do I disable this?

    I added the following code to the child-theme/functions.php file:

    add_filter('etheme_autoscroll_single_tabs_on_mobile', '__return_false');

    but not works on mobile or desktop.

    11 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    March 4, 2024 at 13:37

    Hello, @Trektor,

    Thank you so much for purchasing our theme and contacting our support center.

    In order to assist you with your inquiry, we request that you provide us with URL and temporary access to the wp-admin of your website. This will enable us to take a closer look at your settings and provide you with a more accurate and specific solution.

    To do this, please follow these steps:
    – Create an account via Dashboard (Users > Add new) with administrator role. Refer to the following image for guidance: http://prntscr.com/s3rc9m
    – Provide us with the username and password for the newly created account via the Private Content area. Refer to the following image for guidance: http://prntscr.com/s5mao7
    – Any email address can be used for the new account, it does not have to be your personal email.

    We kindly recommend that you take a complete backup of your site before proceeding.

    Please let us know once you have completed these steps, and we will promptly review your account information and provide assistance as soon as possible.

    Kind Regards,
    8theme team

    Please contact administrator
    for this information.
    Avatar: Trektor
    Trektor
    Participant
    March 9, 2024 at 10:29

    Hello Tony,

    sorry for the late reply, I’m sending the data.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2024 at 16:58

    Hello, @Trektor,

    We kindly request that you provide us with temporary FTP access (FTP host, FTP username, FTP password, FTP port, and FTP encryption type). If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Thank you for your cooperation.

    Best Regards,
    8Theme’s Team

    Avatar: Trektor
    Trektor
    Participant
    March 11, 2024 at 09:44

    Hello Rose,

    I’m sending the datas.

    Cheers

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 12, 2024 at 06:14

    Dear @Trektor,

    We would like to inform you that the auto-scroll feature for the accordion tabs has been successfully removed.

    Could you kindly verify this at your earliest convenience?

    Best Regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: Trektor
    Trektor
    Participant
    March 12, 2024 at 16:33

    Hello Luca!

    Great, thank you very much, it works on my desktop!
    I would like it to work on mobile as well, is it possible to do this?

    Cheers

    Avatar: Justin
    Luca Rossi
    Support staff
    March 13, 2024 at 06:08

    Dear @Trektor,

    We hope this message finds you well.

    We suspect that the issue you are experiencing may be related to cached data. Could you kindly clear all cache on your device and verify if the problem persists?

    For your reference, we have conducted tests on our mobile device and confirmed that the scrolling issue has been resolved. We have attached a file for your review to assist in addressing the matter:

    https://imgur.com/x1VbaM4

    Should you require any further assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: Trektor
    Trektor
    Participant
    March 13, 2024 at 08:28

    Hello Luca!

    Thank you very much, it works great on mobile!
    Few more questions: will this works even if I update the theme in the future? And when I put the staging site to live website?

    Cheers

    Avatar: Justin
    Luca Rossi
    Support staff
    March 13, 2024 at 09:49

    Dear @Trektor,

    We hope this message finds you well.

    We would like to inform you that the customization we have implemented is applied directly to the parent theme of XStore. As a result, this modification will be overwritten upon any future updates to the XStore theme.

    To ensure the continuity of our customization, we kindly advise you to create a backup of the following file: /wp-content/themes/xstore/js/modules/tabs.min.js. Please ensure that you perform this backup prior to each update and subsequently replace the file in the updated version of the XStore theme with your backed-up file.

    We appreciate your attention to this matter and are here to assist should you have any questions or require further guidance.

    Best Regards,
    The 8Theme Team

    Avatar: Trektor
    Trektor
    Participant
    March 13, 2024 at 10:08

    Hello Luca!

    I appreciate your prompt help, and thank you so much for resolving the problem!

    Best regards,
    Trektor

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    March 13, 2024 at 10:08

    Dear Trektor,

    As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?

    Click here to share your valuable perspective: https://themeforest.net/downloads

    Your time and trust are highly appreciated!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘How to disable the Auto Scroll to accordion tabs?’' has been successfully resolved, and the topic is now closed for further responses

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