We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: How do I enlarge the logo size on my header?

How do I enlarge the logo size on my header?

rosielou96
Visitor
2 0 0

Hello, 

 

I have tried to increase the size of my logo but have been unsuccessful. The max logo height in pixels is 60. 

 

Can somebody please tell me what I add in the code to change this.

 

Thanks! 

 

RosieScreen Shot 2022-02-12 at 1.15.15 pm.png

Replies 9 (9)

made4Uo
Shopify Partner
3877 719 1237

Hi @rosielou96,

 

If you can find the id: logo_max_height in the {% schema %}, you can change the "max", to whatever you want. Let me know if it works

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

AvadaCommerce
Shopify Partner
3879 840 1007

Hi @rosielou96 

 

Hope you are doing great!

 

To enlarge the logo size, please follow these steps to do that:

 

  1. Login to your store 
  2. Click Customize > Header 
  3. There you can see "Custom logo width (in pixels)" just increase it to twice of current value and click save.

If it does not work, then you have to write the code yourself:

 

  1. Login to your store
  2. Click on Action > Edit HTML/CSS
  3. Open the file theme.scss.liquid and at the bottom add this code

 

.site-header__logo-image img {

     max-width: 200px !important;

}

 

You can increase the value to 250 or 300 or whatever that you need.

 

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any questions!

banned
rosielou96
Visitor
2 0 0

Hello,

 

Thanks for your help. Can you please clarify where at the bottom to add this code?

 

Thanks,

Rosie

Graham256
Excursionist
15 0 9

For Refresh @MarcH 2023, you need to replace the "300" in the code below:

 

edit code -> Config -> settings_schema.json

 

{

        "type": "range",

        "id": "logo_width",

        "min": 50,

        "max": 300,

        "step": 10,

        "default": 100,

        "unit": "px",

        "label": "t:settings_schema.logo.settings.logo_width.label"

andywollen
Shopify Partner
1 0 0

This worked perfectly for Desktop and is an elegant solution. Thank you!

 

Inth
Visitor
1 0 0

thank you, works like a charm ❤️

dreamworldeques
Excursionist
28 0 7

That works perfectly for me in June , 2025

Thanks

dreamworldeques
Excursionist
28 0 7

please find attached here width of content.

Can you please advice how to extend that and brings equal to page width .

 

dreamworldeques_0-1749146983160.jpeg

 

thank you

 

chuck11101
Visitor
1 0 0

hello is there a similar way to enlarge my mobile logo , this works for desktop but my mobile logo is still pretty small. thank you