In my dawn theme my header look like this I want my header according to this image below. Can somebody give me the proper code for this so that it just look same and also doesn’t effect the Desktop menu style position.
![]()
A user seeks to modify their Shopify Dawn theme header layout to match a reference design, specifically adjusting spacing and element positioning without affecting desktop menu styles.
Initial Solution:
Working Solution:
Custom CSS code successfully resolves the padding issue:
.page-width {
max-width: 1200px;
margin: 0 auto;
padding-left: 0px;
padding-right: 0px;
}
Remaining Challenge:
The user still needs help achieving the exact header layout from their reference image: logo positioned left, menu centered, and icons aligned right. They’re using 1600px width despite recommendations to use 1200px for better optimization on smaller screens (Chromebooks, 12" displays).
Status: Partially resolved. The padding issue is fixed, but the complete header alignment remains an open question with the helper offering continued private assistance.
In my dawn theme my header look like this I want my header according to this image below. Can somebody give me the proper code for this so that it just look same and also doesn’t effect the Desktop menu style position.
![]()
Go to online store setting and turn one the option make it full width and you can set max width to 1600 px I guess. In general select 1200 px and margins should set to 0 px.
hope this helps
No it’s not working if i do this my other styles like top-left, top-center got affected and creating a lots of issue. if possible please give another proper solution
.page-width{
max-width: 1200px;
margin: 0 auto;
padding-left: 0px;
padding-right: 0px;
}
copy and paste above code on your online store > theme setting > css code
Let me know if this works or not if not I can send you the screenshots
Hey it is working fine and doesn’t effect my other styles also
but one thing i want to know I gave max-width:1600px as you can see in the image.
i want my header exactly look like this
The width of your website 1600px is not optimised width small screen laptops such as chrome books, 12” inches screen shows your website content not properly. I would recommend to change it to 1200px for optimisation and and everything after automatic will set how you wanted
if I solve your issue regarding padding space of your header I would request you to please hit on the button found your solution from me ![]()
Thankyou ![]()
Pleasure is all mine ![]()
Happy to help. Thank for your feedback
Hey can you please help me on the header??I’m not able to make it properly and also have one doubt
Go on the setting and change the width of your layout. If your user issue still not sort out msg me privately and I will look into it.
thanks