Adjust Countdown Banner Height (Split Theme)

Hey guys!

I am looking to adjust the padding size on the countdown banner at the top of my page for both desktop and mobile. Can anyone please explain to me how I can do this? What code to change?

Website: https://wholesomeboy.co/products/mt-hoodie-black

Hi @WholesomeBoy Do you want to increase the padding or want to remove the white space and decrease the padding?

Sorry but can you answer the question.

Best regards

Sahil

Reduce the white space size to make it smaller.

Hi @WholesomeBoy Thanks for the explanation, Please add the code in your theme.css/base.css/style.css/index.css file which is available in your theme.

.site-box.box--column-flow.box--bigger.box__image-text.box__announcement.box__landing-banner.horizontal-center.vertical-middle.button-.hard-align {
    padding: 10px !important;
}

If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
  6. You can add the above code at the bottom of the file.

Result:

If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

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

Best Regards

Sahil

Thank you so much! I have one problem though. On mobile view, the bottom margin is larger than the top. Let me know the fix and I will accept solution!

Hi @WholesomeBoy Please mark both the replies as solution and add this code at the same place where you have added the previous code.

@media only screen and (max-width: 620px){
.site-box.box--column-flow.box--bigger.box__image-text.box__announcement.box__landing-banner.horizontal-center.vertical-middle.button-.hard-align {
    padding: 10px !important;
}

h2.title.h1 {
    margin-top: 22px !important;
}
}

Result:

If you will unable to implement the same then I’m happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

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

Best Regards

Sahil