All things Shopify and commerce
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
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:
live website:
this is my website link: gigglefabric.com
Solved! Go to the solution
This is an accepted solution.
Hi @Davidn
TRy this one.
<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>
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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.
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
but within the editor it looks like this
This is an accepted solution.
Hi @Davidn
TRy this one.
<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>
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!