How can I center align my desktop header?

Hi Shopify Community,

I have had this problem before with my mobile header. But now suddenly my desktop header is not center aligned anymore. Does anyone know how I can solve this problem?

Thanks in advance!

Shop: go-smooth.myshopify.com / www.go-smooth.com

@GoSmoothSHOP - please add this css to the very end of your styles.scss file and check

@media only screen and (min-width: 799px){
.navbar{justify-content: center;}
}

*Hi [email removed]GoSmoothSHOP

This is PageFly - Free Landing Page Builder. I would love to provide my recommendations for your store based on 6 years of providing solutions for about 100.000 active Shopify merchants.

you find : theme → Edit > Search “theme.liquid”.

Then you paste the code before the tag:

@media(min-width:767px){ header.navbar #top-block-header__top-bar-0{ margin:auto !important } }

If you want more flexibility to personalize your pages, I’d love to introduce our product PageFly Landing Page Builder with 24/7 support live chat. PageFly has a Free plan where you can use all features and create different page types so I hope give us a try.

If you find my comment useful, please let me know by giving it a Like. Thank you!

PageFly

Thank you very much! :slightly_smiling_face: