Dawn Theme Mobile Lay out

Dawn Theme Mobile Lay out

aromabarn
Tourist
7 0 1

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

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
9607 2289 2844

Hi @aromabarn 

This is for the mobile screen only right? If it is,

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1734456640209.png

     

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.