Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #891526
    strawberrybase
    Participant

    Hi,

    i’ve ‘Removed Native Elements’ in X in order to get the Image Carousel element working. However whenever i click on the previous or next buttons of the carousel it causes the page to move up (so the image is at the top of the web page). I’m finding this irritating and having tested the Image Carousel on an alternative theme this shifting doesn’t seem to happen when the buttons are clicked. Is there a quick fix for this?

    http://darcawards.com/architectural/entry-test/

    Thanks

    #892100
    Rupok
    Member

    Hi there,

    Thanks for writing in! You can try adding this under Custom > JavaScript in the Customizer.

    jQuery(document).ready(function($) {
       $('.vc_carousel-control').click(function(e) {
          $('html, body').stop();
       });
    });

    Hope this helps.

    Cheers!

    #892115
    strawberrybase
    Participant

    That works great, thanks

    #892887
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-891526 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>