Hi guys I need help. I’m using the dawn theme and on my feature product I would like my product to display vertical instead of horizontal anybody can help me please
can you please send store url
Row of 2 like that please
try this code
- Go to Online Store->Theme->Edit code
- Asset->/base.css ->paste below code at the bottom of the file.
@media screen and (min-width: 990px) {
.slider-mobile-gutter .grid--quarter-max.grid--4-col-desktop .grid__item {
max-width: calc(50% - var(--grid-desktop-horizontal-spacing) * 3 / 4);
width: calc(50% - var(--grid-desktop-horizontal-spacing) * 3 / 4);
}
}
Ok I’ll do it now
I did and still haven’t change is there anything to do after I copied and paste the code
It doesn’t appear like that on mobile phone I want it to appear like that on mobile phone too
yes, please remove last one code and add this
.slider-mobile-gutter .grid--quarter-max.grid--4-col-desktop .grid__item {
max-width: calc(50% - var(--grid-desktop-horizontal-spacing) * 3 / 4);
width: calc(50% - var(--grid-desktop-horizontal-spacing) * 3 / 4);
}
Ok will do it
Still not working for the mobile
oh sorry for that can you add this code also don’t remove any previous code
@media screen and (max-width: 989px){
.slider.slider--tablet {
flex-wrap: wrap !important;
}
.slider-mobile-gutter .grid--quarter-max.grid--4-col-desktop .grid__item {
max-width: calc(50% - var(--grid-desktop-horizontal-spacing) * 3 / 2);
width: calc(50% - var(--grid-desktop-horizontal-spacing) * 3 / 2);
}
}
Will do
thank you so much it worked
its my pleasure to help us

