Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1108111

    Hello,

    I installed a plugin called Custom Product Tabs for WooCommerce by Yikes.

    When i click on a tab name, the page scrolls up, so the user has to scroll down again to view the content. See link for example. I have already contacted the plugin developer and he thinks its a problem with the Enfold theme.

    I have tried turning off all plugins (except woocommerce and the tabs plugin) but it didn’t make a difference.

    Any help you can give me would be appreciated.

    #1108502

    Hey S-edwards,
    I see that you are getting this error:

    /wp-admin/admin-ajax.php: Failed to load resource: the server responded with a status of 400 ()

    Please try checking your PHP version, v7.1 is recommended.
    If this doesn’t help, please include an admin login in the private content area so we can be of more assistance.

    Best regards,
    Mike

    #1108941

    Hello,

    I changed it to PHP 7.1 but it made no difference. I have attached a temporary login below.

    #1109208

    HiS-edwards,

    I am also seeing the 400 error, please have a look at the links below for possible solutions:
    https://wordpress.org/support/topic/failed-to-load-resource-the-server-responded-with-a-status-of-400-3/

    Best regards,
    Victoria

    #1109305

    Hello,

    Thanks for your response. I had a look at the settings and the WordPress address and Site address are already using https.

    I deleted a few deactivated plugins that i no longer need and it seemed to change the error. I am not sure how it could make a difference if the plugins were kept off, however the console now has the below error.

    #1109965

    Hi S-edwards,

    I see the 404, but your child theme css file is styles.css and I am not sure where the link to this file (wp-content/themes/enfold-child/css/meade.css ) is coming from. Did you add it manually somewhere?

    Best regards,
    Victoria

    #1111762

    hello,

    that css folder doesn’t exist in my child theme.

    Where did you find it?

    #1112027

    Hi S-edwards ,

    Credentials did not work for me. Could you please update the credentials?

    Best regards,
    Victoria

    #1112779

    Th login details expired after a week.

    new login link below.

    Thanks

    #1113085

    Hi,

    When i click on a tab name, the page scrolls up, so the user has to scroll down again to view the content. See link for example. I have already contacted the plugin developer and he thinks its a problem with the Enfold theme.

    This is because of the smooth scroll feature of the theme. All links containing anchors will automatically scroll to their corresponding container. You can find that script in the js > avia.js file.

    
    //smooth scrolling
    if($.fn.avia_smoothscroll)
    $('a[href*="#"]', container).avia_smoothscroll(container);
    

    You can either disable that script altogether or exclude the custom product tabs.

    Best regards,
    Ismael

    #1113408

    Hello,

    Thanks for your response. How can i exclude it from the custom product tabs?

    Also, how can i edit the avia.js file in my child theme so that i don’t lose the changes when the theme updates?

    #1113829

    Hi,

    You can replace that line with the following.

    $('a[href*="#"]', container).not('.wc-tabs li a').avia_smoothscroll(container);
    

    Do the following steps if you want to override the avia.js file in your child theme.

    // https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#load-shortcodejs-from-child-theme-folder

    However, instead of the “avia-shortcodes”, you’ll have to re-register the “avia-default” script.

    Best regards,
    Ismael

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.