Can you help me place the three pages in the header, between the logo and cart (center). Thank you
Pass: biangu
Url: www.matibrnd.com
Issue: User wants to reposition three menu pages in the header to be centered between the logo (left) and cart icon (right).
Solutions Provided:
Multiple CSS approaches were offered:
BrewBrains suggested modifying .header__inline-menu with max-width: 30%, margin-left: 0px, and justify-self: center
niraj_patel (two solutions):
theme.liquidmargin-left: 826px on the inline menuRaj-webdesigner recommended adding CSS to base.css targeting grid row, alignment properties, and removing margins
Status: Multiple working solutions presented with screenshots. User clarified wanting logo and cart to remain in original positions with menu centered between them. All solutions involve adding custom CSS to theme files.
Can you help me place the three pages in the header, between the logo and cart (center). Thank you
Pass: biangu
Url: www.matibrnd.com
HI @MT27 ,
You can use the CSS below and It should work. See the screenshot below for the result.
#shopify-section-header .header nav.header__inline-menu {
max-width: 30%;
margin-left: 0px !important;
justify-self: center;
}
#shopify-section-header h1.header__heading {
text-align: left;
justify-self: left;
grid-area: unset;
}
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hello @MT27
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi. sorry if i was not vary clear. I meant to keep the logo and the cart in the position they were and place the three pages in the middle between them.
Thank you
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Put This Code On Go to Online Store → Theme → Edit code → base.css
This Css On Your Given Data First 3page Logo and Cart…
#shopify-section-header .header__inline-menu {
margin: 0 !important;
grid-row: 1;
grid-column: 1;
}
a.header__menu-item.list-menu__item.link.link--text.focus-inset {
margin: 0 !important;
}
.header__icons {
justify-self: center;
}
.list-menu--inline{
align-items: center !important;
}