Hello
I’ve been trying to figure this out and I haven’t. My store uses dawn theme and I was wondering how could I lay out my featured collection on my home page to be horizontally and show all four products at once without having to swipe. You can see this on my website, aromabarn.com under the “featured” coloumn
1 Like
Hi @aromabarn
This is for the mobile screen only right? 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 screen and (max-width: 749px) {
.collection .grid--peek.slider .grid__item:first-of-type {
margin-left: 0;
}
.grid.product-grid.contains-card.contains-card--product.contains-card--standard.grid--peek {
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
.collection.slider--tablet.grid--peek.grid--2-col-tablet-down .grid__item,
.collection .grid--peek .grid__item {
width: 100% !important;
min-width: 100%;
}
.collection .card.card--standard.card--media {
padding: 2rem;
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!