Center header menu dawn theme

Solved

Center header menu dawn theme

Daniel19901
Shopify Partner
296 2 88

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

Daniel19901_0-1738234555216.png

 

Accepted Solution (1)

ZestardTech
Shopify Partner
6144 1097 1474

This is an accepted solution.

Hello @Daniel19901,

Here are the steps to apply the necessary changes in your Shopify store:

  1. In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  2. Locate Asset > base.css and paste the following code at the bottom of the file:

 

.header--middle-left {
        grid-template-columns: 1fr auto 1fr !important;
}

 

ZestardTech_0-1738235011990.png


Let me know if you need further assistance!

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

View solution in original post

Replies 3 (3)

ZestardTech
Shopify Partner
6144 1097 1474

This is an accepted solution.

Hello @Daniel19901,

Here are the steps to apply the necessary changes in your Shopify store:

  1. In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  2. Locate Asset > base.css and paste the following code at the bottom of the file:

 

.header--middle-left {
        grid-template-columns: 1fr auto 1fr !important;
}

 

ZestardTech_0-1738235011990.png


Let me know if you need further assistance!

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

DaisyVo
Shopify Partner
4409 489 583

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 %}

DaisyVo_0-1738236128730.png

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

vm-web
Shopify Partner
154 10 29

@Daniel19901 

  1. In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  2. Locate Asset > base.css and paste the following code at the bottom of the file.

 

.header--middle-left {
        grid-template-columns: 1fr auto 1fr !important;
}

 

Thanks!

If helpful then please Like and Accept Solution. | Email: vickyzilpe@gmail.com