How can I move the menu to the left to be side by side with the Logo?

Solved

How can I move the menu to the left to be side by side with the Logo?

kingdom2
Excursionist
32 0 10

Hi there!

How can I move the menu to the left to be side by side with the Logo?

https://kingdompetshop.com/collections/dog-collars-leashes

Theme: Refresh

Pw: abcd

 

 

kingdom2_0-1725905723743.png

 

Accepted Solution (1)

topnewyork
Astronaut
1320 161 220

This is an accepted solution.

Hi @kingdom2 ,

 

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

 

@media screen and (min-width: 990px) {
    .header--top-center {
        grid-template-areas: "left-icons navigation heading icons";
        grid-template-columns: auto 1fr 1fr 1fr;
    }
.header:not(.header--middle-left,.header--middle-center) .header__inline-menu {
        margin-top: 0;
    }
}

topnewyork_0-1725949979478.png

 

 

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

Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month

View solution in original post

Replies 7 (7)

Nik1980
Shopify Partner
4 0 0

Hi, the easiest way to change the logo location is to use the settings as shown in the print screenScreenshot 2024-09-09 213043.png

If this was helpful, hit the like button and accept the solution.
Thanks!
kingdom2
Excursionist
32 0 10

Thanks for your answer.

I was playing before with that option, what happens is that if I select left, everything (logo+menu) goes to the left if I put center, everything goes to the center, they are coupled. 

How can I decouple the logo from the menu? 

Made4uo-Ribe
Shopify Partner
10119 2400 3033

Hi @kingdom2 

Do you mean like this? 

Made4uoRibe_0-1725927477773.png

If it is 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--top-center {
        grid-template-areas:
        "left-icons navigation heading icons";
    }
    .header {
        grid-template-columns: auto 1fr auto 1fr;
    }
}
</style>

 

 And Save. 

 

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

namphan
Shopify Partner
2633 339 388

Hi @kingdom2,

Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:

@media screen and (min-width: 990px) {
    .header--top-center {
        grid-template-areas: "left-icons navigation heading icons";
        grid-template-columns: auto 1fr 1fr 1fr;
    }
.header:not(.header--middle-left,.header--middle-center) .header__inline-menu {
        margin-top: 0;
    }
}

it will show like this:

Screenshot.png

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com

topnewyork
Astronaut
1320 161 220

This is an accepted solution.

Hi @kingdom2 ,

 

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

 

@media screen and (min-width: 990px) {
    .header--top-center {
        grid-template-areas: "left-icons navigation heading icons";
        grid-template-columns: auto 1fr 1fr 1fr;
    }
.header:not(.header--middle-left,.header--middle-center) .header__inline-menu {
        margin-top: 0;
    }
}

topnewyork_0-1725949979478.png

 

 

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

Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month
kingdom2
Excursionist
32 0 10

Thanks a lot @topnewyork !

I accepted the solution, the only detail is that the code goes at the bottom of base.css and not theme.liquid but for the rest amazing!

Thanks a lot!

namphan
Shopify Partner
2633 339 388

Hi @kingdom2,

So it is 100% as I described 😊

Have you tried reading it?

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com