Re: how to resize the header in refresh theme?

Solved

how to resize the header in refresh theme?

diidi
Tourist
9 0 2

hello, i need some help with resizing my header in refresh theme.

in the theme editor i'v changed the section padding all to 0 but its still too big,

i tried to look for codes on google but nothing worked.

 

 

Accepted Solution (1)

BSSCommerce-HDL
Shopify Partner
2082 740 933

This is an accepted solution.

Hi @diidi

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.header__heading-logo {
    object-fit: cover !important;
    height: 100% !important;
    max-width: 100%;
}

.header__heading-logo-wrapper {
    height: 100px !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1721582785984.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 5 (5)

AK_Design_Dev
Shopify Partner
187 16 16

Hello @diidi 

 

Can you share store url

If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link:-

Contribution


Contact On My Mail :-mail@gmail.com

PageFly-Richard
Shopify Partner
4584 1051 1712

 

This is Richard from PageFly - Shopify Page Builder App

Hi @diidi  I checked your logo is 210x210 so it makes your header wide. You can cut the height of the logo to 100x210 so that it can cut down the space above and below. and it will fix this issue.

PageFlyRichard_0-1721576901765.png

Thank you so much.

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

BSSCommerce-HDL
Shopify Partner
2082 740 933

This is an accepted solution.

Hi @diidi

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.header__heading-logo {
    object-fit: cover !important;
    height: 100% !important;
    max-width: 100%;
}

.header__heading-logo-wrapper {
    height: 100px !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1721582785984.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

diidi
Tourist
9 0 2

Ty it helped!

But is there a way to make it even smaller?