Solved

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

Yash234
Shopify Partner
16 0 5

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

Yash234_0-1711723749697.png

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6035 1448 1785

This is an accepted solution.

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:

Made4uoRibe_0-1711725418650.png

Its a bit changes. 

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
6035 1448 1785

This is an accepted solution.

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:

Made4uoRibe_0-1711725418650.png

Its a bit changes. 

 

 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


Yash234
Shopify Partner
16 0 5

thanks man you are a G