Shopify themes, liquid, logos, and UX
Hi, can anyone share with me the code for center aligned header menu (Dawn theme)?
thank you in advance !
b36746-fa.myshopify.com
Password: meolyo
Solved! Go to the solution
This is an accepted solution.
Hello @Daniel19901,
Here are the steps to apply the necessary changes in your Shopify store:
.header--middle-left {
grid-template-columns: 1fr auto 1fr !important;
}
Let me know if you need further assistance!
This is an accepted solution.
Hello @Daniel19901,
Here are the steps to apply the necessary changes in your Shopify store:
.header--middle-left {
grid-template-columns: 1fr auto 1fr !important;
}
Let me know if you need further assistance!
Hi Daniel19901
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Edit code: https://prnt.sc/M4p-gua99Uf4
2/ Search for "theme.liquid" file: https://prnt.sc/b6xveIKe-Rh2
3/ Open the file and search for </head> tag and add the following code above </head> tag: https://prnt.sc/KWtKYyZkDtYJ
Here is the code for Step 3:
{% style %}
@media screen and (min-width: 1024px){
header.header {
grid-template-columns: auto 1fr auto !important;
}
nav.header__inline-menu ul.list-menu.list-menu--inline {
display: flex !important;
justify-content: center;
}
}
{% endstyle %}
.header--middle-left {
grid-template-columns: 1fr auto 1fr !important;
}
Thanks!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025