We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

My website header logo isn't positioned the way I want it

Solved

My website header logo isn't positioned the way I want it

Davidn
Tourist
10 0 2

I'm in the theme editor right now and my logo appears to be in the middle left of the header, but when i go to the live website it looks to be in the top center, I've been trying to fix it for several hours now but I can't find anything.

editor:

Davidn_0-1738576894282.png

live website:

Davidn_1-1738576920858.png

this is my website link: gigglefabric.com

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @Davidn 

TRy 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: "heading navigation icons" !important;
        gap: 20px;
    }
    .header {
        grid-template-columns: auto 1fr 1fr !important;
    }
    .header>.header__search {
        grid-area: icons !important;
        justify-self: right;
        width: 30%;
        justify-content: center;
}
    .header--top-center .header__inline-menu {
        justify-self: left !important;
    }
}


</style>

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1738584398726.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 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.

View solution in original post

Replies 3 (3)

ChiragPatel2911
Shopify Partner
59 10 9

Hello @Davidn 

 

Did you try with private mode of your browser?

Here I think you are on the preview mode of your theme and due to that you are saw the wrong placement cause it is from another theme not the theme in which you are working.

 

Or you can click on the three dot under the online store theme https://prnt.sc/-WWRBlUp80wu so you can get the current theme updates.

Best Regards,
Chirag Patel (COO - Cirkle Studio PVT LTD)
chirag@cirklestudio.co
Davidn
Tourist
10 0 2

I did try in private browser and also on other devices, I don't think it's a cache issue.

I'm positive I'm working on the right theme but interestingly after your post I checked the Themes tab in shopify admin and the preview for my website looks like this

Davidn_0-1738583750194.png


but within the editor it looks like this

Davidn_1-1738583778656.png

 

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @Davidn 

TRy 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: "heading navigation icons" !important;
        gap: 20px;
    }
    .header {
        grid-template-columns: auto 1fr 1fr !important;
    }
    .header>.header__search {
        grid-area: icons !important;
        justify-self: right;
        width: 30%;
        justify-content: center;
}
    .header--top-center .header__inline-menu {
        justify-self: left !important;
    }
}


</style>

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1738584398726.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 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.