-
AuthorPosts
-
June 7, 2019 at 2:09 am #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.
June 8, 2019 at 11:23 pm #1108502Hey 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,
MikeJune 11, 2019 at 12:24 am #1108941Hello,
I changed it to PHP 7.1 but it made no difference. I have attached a temporary login below.
June 11, 2019 at 4:41 pm #1109208HiS-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,
VictoriaJune 11, 2019 at 11:50 pm #1109305Hello,
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.
June 13, 2019 at 6:24 pm #1109965Hi 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,
VictoriaJune 20, 2019 at 1:15 am #1111762hello,
that css folder doesn’t exist in my child theme.
Where did you find it?
June 20, 2019 at 6:11 pm #1112027Hi S-edwards ,
Credentials did not work for me. Could you please update the credentials?
Best regards,
VictoriaJune 23, 2019 at 11:44 pm #1112779Th login details expired after a week.
new login link below.
Thanks
June 25, 2019 at 3:25 am #1113085Hi,
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,
IsmaelJune 26, 2019 at 12:30 am #1113408Hello,
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?
June 27, 2019 at 9:03 am #1113829Hi,
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.
However, instead of the “avia-shortcodes”, you’ll have to re-register the “avia-default” script.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.