https://www.depoto.com/ is my website.

I have used the weltpixel banner slider extension. When i refresh the website, The banner slider is not working properly.

enter image description here

  • have you deleted the question that you have asked previously? – Abhishek Tripathi Feb 22 '19 at 9:07
  • I think it is working now – fmsthird Feb 22 '19 at 10:47
  • Is it working now with my given answer? – Abhishek Tripathi Mar 26 '19 at 11:28
  • @ABHISHEKTRIPATHI, Thanks for the answer. Actually its not worked. then i chose another plugin. – Teja Bhagavan Kollepara Mar 26 '19 at 11:38

It is just a class issue while loading the content it is not appending this class -> owl-carousel some times.

What you can do to resolve this issue is just simply put a script on the home page & add the class there with your own script like this

    require(['jquery'], function($){

There must be some other solution also but it is the short hack that you can do for resolving this issue now

Note: You can simply put the if condition to the script for checking that if class is already there or not to overcome the double assignment of the same class.

Thank You!

  • i have added at homepage. But still the problem is apearing . Please check once – Teja Bhagavan Kollepara Feb 22 '19 at 9:25
  • as I can see into your site in console you are getting one error that is jQuery is not defined so please call that script with the require js content that is the dependency on the jquery see my updated answer! – Abhishek Tripathi Feb 22 '19 at 9:29
  • still i am having the same problem. I have added your updated one in my homepage – Teja Bhagavan Kollepara Feb 22 '19 at 10:17
  • I think that is your browser cache issue please try with some other browser or after removing the browser cache or in a incognito mode, flush the magento cache & also please remove that old code with jQuery as because that I am still can see into the console it is giving error there – Abhishek Tripathi Feb 22 '19 at 11:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.