Hello!
i can’t make this page into 6 columns for 6 categories, I want to have 2x2x2 but only sliders work (On mobile version). My site name is Kastia.se
This is how i want it to look: on the mobile version
yes this would be perfect
Let copy the css code below then paste to Custom CSS on your theme editor:
@media screen and (max-width: 749px) {
.section-collection-list .slider.slider--tablet {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.section-collection-list .slider.slider--tablet >.grid__item{
width: 100%;
margin: 0;
}
.section-collection-list .collection-list .collection-slider-buttons {
display: none;
}
}
Hi! thank you but it did not work
it because you have change other slider
yea you’re right i played around with the settings, how do i fix it ? ;(
Please keep as curent & use this CSS code:
@media screen and (max-width: 749px) {
.section-collection-list .slider.swiper-wrapper {
display: grid;
grid-template-columns: repeat(2, 1fr);
transform: none !important;
}
.section-collection-list .slider.swiper-wrapper >.grid__item {
width: 100%;
margin: 0;
}
.section-collection-list .collection-list .swiper-pagination {
display: none;
}
}
oh many categories duplicate, right?
if yes, please replace by this code:
@media screen and (max-width: 749px) {
.section-collection-list .slider.swiper-wrapper {
display: grid;
grid-template-columns: repeat(2, 1fr);
transform: none !important;
}
.section-collection-list .slider.swiper-wrapper >.collection-list__item {
width: 100%;
margin: 0;
}
.section-collection-list .collection-list .swiper-pagination {
display: none;
}
.section-collection-list .slider.swiper-wrapper >.collection-list__item.swiper-slide-duplicate {
display: none;
}
}
thank you very much