I need help centering logo in the header

I need help centering logo in the header

JonathanAaen
Tourist
5 0 1

Hey! I have a problem with the logo not being vertically centered in the header on mobile. Can someone help me?

 

The "NordicHaven" is not centered on mobile (nordichaven.no):

Hey! I have a problem with the logo not being vertically centered in the header on mobile. Can someone help me?

 

The "NordicHaven" is not centered (nordichaven.no):

JonathanAaen_0-1725266131870.png

 

Replies 4 (4)

Sangeetanahar
Excursionist
443 27 56

hello @JonathanAaen 

Can you please send me the Website URL.

Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -sangeetarahuldhiman@gmail.com - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here

niraj_patel
Shopify Partner
2378 514 511

Hello @JonathanAaen 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px) {
    .site-header__logo-link {
        top: 10px !important;
    }
}
</style>

niraj_patel_0-1725266819016.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
JonathanAaen
Tourist
5 0 1

Dear Niraj Patel

 

It worked! I really appreciate you taking the time to save my store!

PK2023
Excursionist
18 1 0

Hi,

 

I would say the fastest way is to theme > customize >open the header and at the botton for the CSS text box add:

@media all and (max-width:767px)
.header-layout--left-center #LogoContainer {

top: 20%; (or whatever percentage you are satisfied with the location)

}