carosel repeat error
1 year 1 month ago #368041
by grayt7
carosel repeat error was created by grayt7
-- Joomla version -- : 5.3.2
-- PHP version -- : 8.3
Hey,
The carosel on the supplied page will not repeat - desktop issue.
-- PHP version -- : 8.3
Hey,
The carosel on the supplied page will not repeat - desktop issue.
Please Log in or Create an account to join the conversation.
1 year 1 month ago #368042
by nicolas
Replied by nicolas on topic carosel repeat error
Hi,
This comes from this limitation of the Swiper carousel system we're using in HikaShop:
github.com/nolimits4web/swiper/issues/6471
Since version 9 (we're using version 10), you need at least twice the amount of elements displayed for the loop to be able to happen.
On your page, you have 4 elements displayed for a total of 6 elements. That's why the slide is not repeating.
So, there are several solutions here:
- reduce the number of elements displayed
- increase total number of elements loaded by the module
- add an entry with the namekey carousel_version and the value owl in the hikashop_config table via your PHPMyAdmin in order to switch to the OWL carousel library HikaShop implemented before switching to Swiper.
I don't recommend this last solution as the OWL carousel library is old (not updated for 7 years now), requires jquery (swiper doesn't), and it is bulkier, and slower.
This comes from this limitation of the Swiper carousel system we're using in HikaShop:
github.com/nolimits4web/swiper/issues/6471
Since version 9 (we're using version 10), you need at least twice the amount of elements displayed for the loop to be able to happen.
On your page, you have 4 elements displayed for a total of 6 elements. That's why the slide is not repeating.
So, there are several solutions here:
- reduce the number of elements displayed
- increase total number of elements loaded by the module
- add an entry with the namekey carousel_version and the value owl in the hikashop_config table via your PHPMyAdmin in order to switch to the OWL carousel library HikaShop implemented before switching to Swiper.
I don't recommend this last solution as the OWL carousel library is old (not updated for 7 years now), requires jquery (swiper doesn't), and it is bulkier, and slower.
Please Log in or Create an account to join the conversation.
Time to create page: 0.177 seconds