1. Go to 'theme/templates/components/featured-products.tpl'
2. Add to:
$sliderConfig = [
'grid' => [
'rows' => 2,
'fill' => 'row' // or 'column'
],
]
3. go to _dev > components/sliders/SwiperSlider.js
- add to 'dynamicModulesMap':
grid: new DynamicImportSwiperModule(
() => [
import('@node_modules/swiper/modules/grid/grid.js'),
import('@node_modules/swiper/modules/grid/grid.scss'),
],
),
then
'fill' => 'row' is working, but 'fill' => 'column' puts items in one vertical row
Description
nie działa Swiper Grid
Node.js version
v15
php version
v8.1
OS and it's version
Windows Xampp/serwer
Browsers
Firefox
Required module/theme
Falkon 3.1.2
Reproduction steps
Logs
No response