Make Logo Centered

Hello!

I am working on a test website and I made some custom modifications to my header. I guess one of the custom codes that I added makes the logo to be aligned a little bit to the left instead of being 100% centered (both on mobile and desktop). I can’t really delete the custom codes that I already have since I need them.

Is there any code to force the logo to be centered correctly? (Both on mobile and desktop)

My theme is Stiletto and as I mentioned before the web I’m working on is not published yet but it’s very similar to the one I have published which is www.winnerofficial.com

I would really appreciate some help as I tried a million codes already but nothing works!

Hi @martujv ,
This is Theodore from PageFly - Shopify Page Builder App.

You can follow like this

Best regards,
Theodore | PageFly

Hi, @martujv

Please share the store URL so that I can assist you.

Hey, I’m already using that option and it’s still aligned a little bit to the left.

Hey, as I mentioned before, I can’t share any URL because I don’t have the theme published, but the Theme and the style is the same as my published theme: www.winnerofficial.com

Hi. You can share your unpublished preview link.

Oh, I didn’t know that! here you go https://nael1y2i8hg57vdm-60150284501.shopifypreview.com

You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the tag


Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!

I tried but sadly nothing changed, any other solution?

I don’t find the code I provided on your page. Where did you add to?

If possible, I can help you directly modify it.
So I need to access your store as a collaborator if possible.

I added it but it didn’t change anything so I removed it. I added it again just so that you can check.

I still haven’t seen it. Can you tell me where you added it?