Shopify themes, liquid, logos, and UX
Hello,
I want that my menu in my header go stays in the middle. Now it is more to the left side of the header.
Link: leondecame.com
Password: LéondeCamé2020.
Regards,
Solved! Go to the solution
This is an accepted solution.
@LeondeCame - add this css to the very end of theme.css file and check , should be like screenshot
.Header__Wrapper .Header__FlexItem--fill {
justify-content: center;
}
This is an accepted solution.
@LeondeCame - remvoe last given css and try this
@media screen and (min-width:750px)
{
.Header__Wrapper .Header__FlexItem--fill {justify-content: center;}
}
This is an accepted solution.
@suyash1
I found also another problem. If I make my screen a little bit smaller (iPad size) the hamburger menu and icons are not on the side. But I want them on the side.
Look to the screenshot then you will get it.
Screen: https://ibb.co/wMFg92c
Webshop: leondecame.com
This is an accepted solution.
@LeondeCame - add this css to the very end of theme.css file and check , should be like screenshot
.Header__Wrapper .Header__FlexItem--fill {
justify-content: center;
}
It works, thank you!
@LeondeCame - welcome
Hello @suyash1 ,
little problem, I just checked my website on my phone and I saw that the position of the toggle for the menu on mobile device also moved.
But it needs to be on the left side on mobile device. Any solution for this?
This is an accepted solution.
@LeondeCame - remvoe last given css and try this
@media screen and (min-width:750px)
{
.Header__Wrapper .Header__FlexItem--fill {justify-content: center;}
}
Yes, this code works! Thank you
This is an accepted solution.
@suyash1
I found also another problem. If I make my screen a little bit smaller (iPad size) the hamburger menu and icons are not on the side. But I want them on the side.
Look to the screenshot then you will get it.
Screen: https://ibb.co/wMFg92c
Webshop: leondecame.com
@LeondeCameplease add this css and check
@media screen and (min-width:750px) and (max-width:1023px){
.Header__Wrapper .Header__FlexItem--fill:first-child {
justify-content: left;
}
.Header__Wrapper .Header__FlexItem--fill:first-child:nth-child(2) {
justify-content: right;
}
}
@LeondeCame- not able to see this css, is it removed?
@media screen and (min-width:750px)
{
.Header__Wrapper .Header__FlexItem--fill {justify-content: center;}
}
That is back now it is back in the middle. But the icons don't go to the right side of the page if you make it iPad size
@LeondeCame- which view?
iPad view
Yes, it works thank you!
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025