Hi for some reason on this page the header has moved to the left, not sure why.. can you please help me place it to the center? Thank you
Pass: biangu
A user is experiencing a header alignment issue on their Shopify store’s “About Us” page, where the header has shifted to the left instead of remaining centered. The main page displays the header correctly.
Proposed Solutions:
base.css file, targeting the header’s grid positioning and margins using media queries for screens wider than 990px.theme.liquid file.Current Status:
Hi for some reason on this page the header has moved to the left, not sure why.. can you please help me place it to the center? Thank you
Pass: biangu
Hello @MT27
Put This Code on Your Edit code > base.css
@media screen and (min-width:990px){
#shopify-section-header .header__inline-menu {
margin-left: 0 !important;
margin-top: 0 !important;
grid-row: 1;
}
.header.header--top-center h1.header__heading {
grid-column: 1;
}
}
Can You Need Other Help Please Contect On
mail.to ==> raj.s.hopiant@gmail.com
Add This Css on base.css.
@media screen and (min-width:990px){
#shopify-section-header .header__inline-menu {
margin-left: 0 !important;
margin-top: 0 !important;
grid-row: 1;
}
.header.header--top-center a.header__heading-link.link.link--text.focus-inset,h1.header__heading {
grid-column: 1;
}
}
header.header.header--top-center.header--mobile-center.page-width.header--has-menu{
left: 0;
right: 0;
}
Hi @MT27 ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file → Save
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
First you put my second code and then I will tell you the problem, Because I want to be a judge
See screenshot >> https://prnt.sc/t_dVxd058dRq
Notify me after placing this code