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

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
Pathfinder
157 2 57

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
7764 2082 2568

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

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


lukafernada
Pathfinder
157 2 57

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
10211 2427 3079

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 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.
lukafernada
Pathfinder
157 2 57

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
10211 2427 3079

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 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.