How do I decrease the space between title and subheading on a text box

How do I decrease the space between title and subheading on a text box

lukafernada
Excursionist
122 1 48

I need to decrease the padding here so that it doesn't look so unnatural in the space that it's in:

IMG_0156.jpegIMG_0157.jpeg

Thank you

Replies 5 (5)

Moeed
Shopify Partner
5426 1467 1752

Hey @lukafernada 

 

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>
.banner__buttons {
    margin-top: 0 !important;
}
</style>

RESULT:

Moeed_0-1726937390354.png

 

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

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


lukafernada
Excursionist
122 1 48

sorry no, maybe i should have rephrased what I wanted. I just want the SHOP NOW buttons to be further up from the bottom of its section. Can you help?

Made4uo-Ribe
Shopify Partner
8269 1980 2430

Hi @lukafernada 

check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.banner__box>*+.banner__buttons, .image-with-text__content .image-with-text__text+.button {
    margin-top: .5rem !important;
}

 

And save. 

Result:

Made4uoRibe_0-1726937644584.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 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.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
lukafernada
Excursionist
122 1 48

yeah thats good, but how do i move the link box away from the bottom? so that it looks nice and spaced out

IMG_0159.jpegIMG_0160.jpeg

Made4uo-Ribe
Shopify Partner
8269 1980 2430

Check 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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media only screen and (max-width: 749px) {
    #shopify-section-template--20584607220061__slideshow_NhjrjP .slideshow__slide .banner__box {
        padding-bottom: 2rem !important;
    }
    .banner__box>*+.banner__buttons, .image-with-text__content .image-with-text__text+.button {
    margin-top: .5rem !important;
}
}
</style>

 

And Save. 

Result:

Made4uoRibe_0-1726938559944.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 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.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.