What's your biggest current challenge? Have your say in Community Polls along the right column.

How can I reduce the size of the sticky header padding in the Broadcast theme?

Solved

How can I reduce the size of the sticky header padding in the Broadcast theme?

Gypsymoon
Explorer
89 0 14

 Hi,

I’m currently customizing a new theme, “Broadcast”. It has the option for sticky heady but when I scroll the header is quite big and has lots of black space around my logo. Is there any way of reducing the size?

 

https://tclboiu0mudq1ywh-8439839.shopifypreview.com

IMG_1501.jpeg

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9159 2184 2700

This is an accepted solution.

Hi @Gypsymoon 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width:989px){
.shopify-section-header-sticky .header {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1698618730397.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 4 (4)

theycallmemakka
Shopify Partner
1747 425 443

Hi @Gypsymoon ,

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media only screen and (max-width: 600px) {
     .header__heading-logo {
        max-height: 60px;
    }
}
</style>

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,

Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

PageFly-Richard
Shopify Partner
4808 1088 1758

Hi @Gypsymoon 

This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css

.header__heading {
    margin: 0;
    line-height: 0;
}

Hope you find my answer helpful!
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.

Made4uo-Ribe
Shopify Partner
9159 2184 2700

This is an accepted solution.

Hi @Gypsymoon 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width:989px){
.shopify-section-header-sticky .header {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1698618730397.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Gypsymoon
Explorer
89 0 14

Thank you so much! That worked!