Center top menu links in Dawn 15.0

Solved

Center top menu links in Dawn 15.0

crosbyaudio
Excursionist
23 0 8

Looking to center the top menu links in Dawn 15.0. Thanks!

 

https://crosbyaudio.com

 

Screenshot 2024-09-19 at 10.29.33 AM.png

Accepted Solution (1)

PageFly-Amelia
Shopify Partner
579 163 233

This is an accepted solution.

Hi @crosbyaudio 

This is Amelia from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code. 

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save

 

header.header {

    grid-template-columns: auto !important;!i;!;

    justify-content: space-between;

}

 

Hope that my solution works for you.

Best regards,

Amelia | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 6 (6)

PageFly-Amelia
Shopify Partner
579 163 233

This is an accepted solution.

Hi @crosbyaudio 

This is Amelia from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code. 

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save

 

header.header {

    grid-template-columns: auto !important;!i;!;

    justify-content: space-between;

}

 

Hope that my solution works for you.

Best regards,

Amelia | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 
➜ Weekly updated Shopify tutorials on YouTube 


All features are available from Free plan. Live Chat Support is available 24/7.

crosbyaudio
Excursionist
23 0 8

Thanks. Are you able to provide code to center this title on the home page?

 

Screenshot 2024-09-18 at 3.36.23 PM.png

Made4uo-Ribe
Shopify Partner
8375 2001 2461

Hi @crosbyaudio 

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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media screen and (min-width: 990px) {
    .header-wrapper .header--middle-left {
        grid-template-areas: 'heading navigation icons';
        grid-template-columns: 1fr auto 1fr;
        column-gap: 2rem;
    }
}

</style>

 

And Save. 

Result:

Made4uoRibe_0-1726757635988.png

 

 

 

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

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

Tech_Coding
Shopify Partner
332 91 81

Hello @crosbyaudio 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (min-width: 990px) {
   .header .header__inline-menu {
      display: flex !important;
      justify-content: center;
      align-items: center;
   }
}
</style>

Tech_Coding_0-1726757715681.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

 

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

BSS-TekLabs
Shopify Partner
2350 702 827

- Here is the solution for you @crosbyaudio 
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it

<style>
header.header.header--middle-left.header--mobile-center.page-width.header--has-menu.header--has-social.header--has-account {
    justify-content: space-between !important;
    grid-template-columns: auto !important;
}
</style>

- Here is the result you will achieve:

BSSTekLabs_0-1726757745134.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

websensepro
Shopify Partner
1221 136 156

Hi @crosbyaudio ,

 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

<style>
@media screen and (min-width: 990px) {
    .header-wrapper .header--middle-left {
        grid-template-areas: 'heading navigation icons' !important;
        grid-template-columns: 1fr auto 1fr !important;
        column-gap: 2rem !important;
    }
}

</style>

websensepro_0-1726758390667.png

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial