- How do I make the header smaller in height in dawn theme
Hello @ti7
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Does this change it for mobile as well
yes
Hello @ti7 ,
I understand you are looking to adjust the header section height in your shopify store.
You can change the height by just adjusting the section padding in Dawn theme customizer.
Please follow the below mentioned steps for the desired changes-:
-
Go to Online Store → Themes → Click Customize https://prnt.sc/rH1d2ByG-CW3
-
Next, In the customizer the number of options will be provided by the customizer for making changes in the different section https://prnt.sc/-a_kJWYCuqD2
-
Click on the “Header” Option https://prnt.sc/_8oua0s1ab4A , the dedicated header section panel will open https://prnt.sc/7_meOj-dir9E
-
Now, scroll down and make changes in “Section Padding” option https://prnt.sc/med-ck-Ll6uR
Adjust the “Section padding” slider as per your requirements.
Please take a look at attached screenshot -:
[The changes will be applied on mobile screens also.]
- Save changes.
I hope the solution helps you.
Please let me know if you have any query.
Thank you.
what’s the code if I want to do it for the announcement bar
for it to chnage height on mobile