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!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024