Why isn't my logo centered in mobile view on Dawn theme?

Topic summary

A user’s logo appears off-center in mobile view on the Dawn theme. The issue stems from an imbalance in header icons: one icon on the left side versus two on the right, creating visual misalignment.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Open the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add CSS code at the bottom to adjust right-side icon spacing:
@media only screen and (max-width: 749px) {
  .header-icon--cart {
    width: fit-content;
  }
  .header__icons {
    padding-right: 0px;
  }
}

The solution was confirmed successful by the original poster. Screenshots were shared showing the before/after results.

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

The logo in the mobile isnt centered idk what has happened
can anyone please help me out

Theme - DAWN

Store url - https://b58128-e6.myshopify.com/

Screenshot of the problem

2 Likes

Hi @Yash234

It is align in the center, but the left side have only one icon and the right is 2. We can adjust the icons on the right.

Check 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){
.header__icon--cart {
    width: fit-content;
}
.header__icons {
    padding-right: 0px;
}
}

And Save.

Result:

Its a bit changes.

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

thanks man you are a G