Re: Menu in header to middle of header Prestige Theme

Solved

Menu in header to middle of header Prestige Theme

LeondeCame
Explorer
48 1 13

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. 

https://ibb.co/DftGxwz

Link: leondecame.com

Password: LéondeCamé2020.

 

 

Regards,

Accepted Solutions (3)

suyash1
Shopify Partner
11066 1364 1745

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;
}

 

suyash1_0-1632416661632.png

 

To build shopify pages use PAGEFLY | Want authentic views on your video? Contact me - suyash.patankar@gmail.com

View solution in original post

suyash1
Shopify Partner
11066 1364 1745

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;}
}
To build shopify pages use PAGEFLY | Want authentic views on your video? Contact me - suyash.patankar@gmail.com

View solution in original post

LeondeCame
Explorer
48 1 13

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 

 

View solution in original post

Replies 14 (14)

suyash1
Shopify Partner
11066 1364 1745

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;
}

 

suyash1_0-1632416661632.png

 

To build shopify pages use PAGEFLY | Want authentic views on your video? Contact me - suyash.patankar@gmail.com
LeondeCame
Explorer
48 1 13

It works, thank you!

suyash1
Shopify Partner
11066 1364 1745

@LeondeCame - welcome

To build shopify pages use PAGEFLY | Want authentic views on your video? Contact me - suyash.patankar@gmail.com
LeondeCame
Explorer
48 1 13

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?

 

https://ibb.co/ChxJ2gy

suyash1
Shopify Partner
11066 1364 1745

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;}
}
To build shopify pages use PAGEFLY | Want authentic views on your video? Contact me - suyash.patankar@gmail.com
LeondeCame
Explorer
48 1 13

Yes, this code works! Thank you

LeondeCame
Explorer
48 1 13

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 

 

suyash1
Shopify Partner
11066 1364 1745

@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;
}
}
To build shopify pages use PAGEFLY | Want authentic views on your video? Contact me - suyash.patankar@gmail.com
LeondeCame
Explorer
48 1 13

@suyash1 

Now is the menu on a normal screen not in the middle anymore.

suyash1
Shopify Partner
11066 1364 1745

@LeondeCame- not able to see this css, is it removed?

@media screen and (min-width:750px)
{
.Header__Wrapper .Header__FlexItem--fill {justify-content: center;}
}
To build shopify pages use PAGEFLY | Want authentic views on your video? Contact me - suyash.patankar@gmail.com
LeondeCame
Explorer
48 1 13

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

suyash1
Shopify Partner
11066 1364 1745

@LeondeCame- which view?

To build shopify pages use PAGEFLY | Want authentic views on your video? Contact me - suyash.patankar@gmail.com
LeondeCame
Explorer
48 1 13

iPad view

LeondeCame
Explorer
48 1 13

Yes, it works thank you!