Hello,
I added a product category list to my shopify website (Dawn Theme) and want to adapt the size of each category on the mobile version only (keep it as it is on desktop).
I want to have one column for each category but make each one smaller (See pictures).
This is the link to my website: https://rightnowvintage.de/
Thank you!
1 Like
Hi @Regardez
Do you mean like this?
If it is try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px){
ul#Slider-template--19338816749903__d0779405-2022-4a0a-a1da-a9cd02b11f6d {
align-items: center;
}
.grid {
display: flex;
flex-direction: column;
}
.grid--2-col-tablet-down .grid__item {
width: 80%;
}
.grid__item {
max-width: 100%;
}
}