Request to Adjust Gap Size on Mobile Page

Topic summary

A user requested help adjusting an uneven gap on the left side of a mobile page layout to match the gap on the right side. They are using the Dawn theme on Shopify.

Solution Provided:

  • Add custom CSS code to the theme’s stylesheet (base.css, style.css, or theme.css)
  • The CSS targets mobile screens (max-width: 749px) and adds a 4px left margin to the first grid item in collection sliders
  • Access via: Shopify Admin → Online Store → Themes → Actions → Edit Code → Assets folder

Outcome:
The solution was accepted and marked as resolved by the original poster. A screenshot demonstrated the corrected layout with balanced gaps on both sides.

Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

Hi, would it be possible to make this gap the same size as the one on the right on the mobile page? Thank you in advance!

Theme DAWN

Store https://timecraft.se

1 Like

Hi @edwinsoltan

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: 4px;
    }
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

thank you!