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
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:
@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.
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
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