Home Forums WoodMart support forum Swiper not displaying correctly

Swiper not displaying correctly

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #526459

    nominal99
    Participant

    After updating to latest version of Woodmart, carousel areas were not displaying correctly, they show ok when logged in as admin and no caching active, however in private browser they weren’t showing right, for example the testimonials carousel near the bottom of the home page on mobile doesn’t work, I’ve added the file below to the WP Rocket exclusion list, however it’s still not showing correctly.
    In the browser console we are seeing warnings for the file https://www.selectequip-shop.co.uk/wp-content/themes/woodmart/js/libs/swiper.min.js?ver=7.4.0

    Initially all carousel areas were broken, I managed to solve some of the issues by ticking the box in the theme settings which says “WP Rocket delay JS exclusions” and flushing the cache, however it’s still showing the below warnings in the console and the testimonials carousel not working. Feel free to view the settings in WP Rocket also.

    The warnings all state the same which are:
    – Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)
    – Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters

    #526475

    Artem Temos
    Keymaster

    Hello,

    With testimonials on mobile, we will fix this in the next update. As for the console notices from Swiper, that’s how the Swiper carousel library works. It informs you that there is a carousel on your site with the Scroll per page and Slider loop options enabled. However, for scrolling with 1 slide per view, there are not enough items. To resolve this issue, you need to either disable one of the options or add slides to the carousel.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)