Script is not calling on homepage












0















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



I have used the weltpixel plugin for the banner slider.
When i am going to refresh the website, Sometimes the banner slider is not working properly.



enter image description here










share|improve this question























  • Wah, what a speed response to close the question. Please try to make the answer.

    – Teja Bhagavan Kollepara
    40 mins ago











  • it seems that there is some issue with the block placement or i think with the js because it is loading the content but the division structure is not right that is why it is not showing there properly (click on the animation arrows you will get the content)

    – ABHISHEK TRIPATHI
    33 mins ago













  • @ABHISHEKTRIPATHI, Thanks for the replying. Could you please help me out on this?

    – Teja Bhagavan Kollepara
    26 mins ago











  • there is one class missing in the dive with classes name -> owl-carousel-custom-1 owl-theme owl-loaded owl-drag the class that is required to be there is -> owl-carousel means that the exact classes to be contained by the div is like this -> owl-carousel-custom-1 owl-carousel owl-theme owl-center owl-loaded check that why this class is not adding there

    – ABHISHEK TRIPATHI
    22 mins ago













  • please check my answer I think with that you can resolve your issue ;)

    – ABHISHEK TRIPATHI
    7 mins ago


















0















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



I have used the weltpixel plugin for the banner slider.
When i am going to refresh the website, Sometimes the banner slider is not working properly.



enter image description here










share|improve this question























  • Wah, what a speed response to close the question. Please try to make the answer.

    – Teja Bhagavan Kollepara
    40 mins ago











  • it seems that there is some issue with the block placement or i think with the js because it is loading the content but the division structure is not right that is why it is not showing there properly (click on the animation arrows you will get the content)

    – ABHISHEK TRIPATHI
    33 mins ago













  • @ABHISHEKTRIPATHI, Thanks for the replying. Could you please help me out on this?

    – Teja Bhagavan Kollepara
    26 mins ago











  • there is one class missing in the dive with classes name -> owl-carousel-custom-1 owl-theme owl-loaded owl-drag the class that is required to be there is -> owl-carousel means that the exact classes to be contained by the div is like this -> owl-carousel-custom-1 owl-carousel owl-theme owl-center owl-loaded check that why this class is not adding there

    – ABHISHEK TRIPATHI
    22 mins ago













  • please check my answer I think with that you can resolve your issue ;)

    – ABHISHEK TRIPATHI
    7 mins ago
















0












0








0








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



I have used the weltpixel plugin for the banner slider.
When i am going to refresh the website, Sometimes the banner slider is not working properly.



enter image description here










share|improve this question














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



I have used the weltpixel plugin for the banner slider.
When i am going to refresh the website, Sometimes the banner slider is not working properly.



enter image description here







magento2.2.6 banner-slider






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 43 mins ago









Teja Bhagavan KolleparaTeja Bhagavan Kollepara

2,94841847




2,94841847













  • Wah, what a speed response to close the question. Please try to make the answer.

    – Teja Bhagavan Kollepara
    40 mins ago











  • it seems that there is some issue with the block placement or i think with the js because it is loading the content but the division structure is not right that is why it is not showing there properly (click on the animation arrows you will get the content)

    – ABHISHEK TRIPATHI
    33 mins ago













  • @ABHISHEKTRIPATHI, Thanks for the replying. Could you please help me out on this?

    – Teja Bhagavan Kollepara
    26 mins ago











  • there is one class missing in the dive with classes name -> owl-carousel-custom-1 owl-theme owl-loaded owl-drag the class that is required to be there is -> owl-carousel means that the exact classes to be contained by the div is like this -> owl-carousel-custom-1 owl-carousel owl-theme owl-center owl-loaded check that why this class is not adding there

    – ABHISHEK TRIPATHI
    22 mins ago













  • please check my answer I think with that you can resolve your issue ;)

    – ABHISHEK TRIPATHI
    7 mins ago





















  • Wah, what a speed response to close the question. Please try to make the answer.

    – Teja Bhagavan Kollepara
    40 mins ago











  • it seems that there is some issue with the block placement or i think with the js because it is loading the content but the division structure is not right that is why it is not showing there properly (click on the animation arrows you will get the content)

    – ABHISHEK TRIPATHI
    33 mins ago













  • @ABHISHEKTRIPATHI, Thanks for the replying. Could you please help me out on this?

    – Teja Bhagavan Kollepara
    26 mins ago











  • there is one class missing in the dive with classes name -> owl-carousel-custom-1 owl-theme owl-loaded owl-drag the class that is required to be there is -> owl-carousel means that the exact classes to be contained by the div is like this -> owl-carousel-custom-1 owl-carousel owl-theme owl-center owl-loaded check that why this class is not adding there

    – ABHISHEK TRIPATHI
    22 mins ago













  • please check my answer I think with that you can resolve your issue ;)

    – ABHISHEK TRIPATHI
    7 mins ago



















Wah, what a speed response to close the question. Please try to make the answer.

– Teja Bhagavan Kollepara
40 mins ago





Wah, what a speed response to close the question. Please try to make the answer.

– Teja Bhagavan Kollepara
40 mins ago













it seems that there is some issue with the block placement or i think with the js because it is loading the content but the division structure is not right that is why it is not showing there properly (click on the animation arrows you will get the content)

– ABHISHEK TRIPATHI
33 mins ago







it seems that there is some issue with the block placement or i think with the js because it is loading the content but the division structure is not right that is why it is not showing there properly (click on the animation arrows you will get the content)

– ABHISHEK TRIPATHI
33 mins ago















@ABHISHEKTRIPATHI, Thanks for the replying. Could you please help me out on this?

– Teja Bhagavan Kollepara
26 mins ago





@ABHISHEKTRIPATHI, Thanks for the replying. Could you please help me out on this?

– Teja Bhagavan Kollepara
26 mins ago













there is one class missing in the dive with classes name -> owl-carousel-custom-1 owl-theme owl-loaded owl-drag the class that is required to be there is -> owl-carousel means that the exact classes to be contained by the div is like this -> owl-carousel-custom-1 owl-carousel owl-theme owl-center owl-loaded check that why this class is not adding there

– ABHISHEK TRIPATHI
22 mins ago







there is one class missing in the dive with classes name -> owl-carousel-custom-1 owl-theme owl-loaded owl-drag the class that is required to be there is -> owl-carousel means that the exact classes to be contained by the div is like this -> owl-carousel-custom-1 owl-carousel owl-theme owl-center owl-loaded check that why this class is not adding there

– ABHISHEK TRIPATHI
22 mins ago















please check my answer I think with that you can resolve your issue ;)

– ABHISHEK TRIPATHI
7 mins ago







please check my answer I think with that you can resolve your issue ;)

– ABHISHEK TRIPATHI
7 mins ago












1 Answer
1






active

oldest

votes


















0














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



<script>
jQuery('.owl-carousel-custom-1.owl-theme.owl-loaded.owl-drag').addClass('owl-carousel');
</script>


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 is
class is already there or not to overcome the double assignment of the
same class.




Thank You!





share























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "479"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f262956%2fscript-is-not-calling-on-homepage%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    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



    <script>
    jQuery('.owl-carousel-custom-1.owl-theme.owl-loaded.owl-drag').addClass('owl-carousel');
    </script>


    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 is
    class is already there or not to overcome the double assignment of the
    same class.




    Thank You!





    share




























      0














      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



      <script>
      jQuery('.owl-carousel-custom-1.owl-theme.owl-loaded.owl-drag').addClass('owl-carousel');
      </script>


      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 is
      class is already there or not to overcome the double assignment of the
      same class.




      Thank You!





      share


























        0












        0








        0







        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



        <script>
        jQuery('.owl-carousel-custom-1.owl-theme.owl-loaded.owl-drag').addClass('owl-carousel');
        </script>


        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 is
        class is already there or not to overcome the double assignment of the
        same class.




        Thank You!





        share













        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



        <script>
        jQuery('.owl-carousel-custom-1.owl-theme.owl-loaded.owl-drag').addClass('owl-carousel');
        </script>


        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 is
        class is already there or not to overcome the double assignment of the
        same class.




        Thank You!






        share











        share


        share










        answered 7 mins ago









        ABHISHEK TRIPATHIABHISHEK TRIPATHI

        1,7001626




        1,7001626






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f262956%2fscript-is-not-calling-on-homepage%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            What other Star Trek series did the main TNG cast show up in?

            Berlina muro

            Berlina aerponto