How can I reduce the line spacing in a text box?

Solved

How can I reduce the line spacing in a text box?

ventukelevra92
Tourist
3 0 2

Hello!

 

can someone help me to decrease the space between line in a text box?

Theme Focal - i use the CSS custom box to add code

Page: https://pushmore.it/pages/chi-siamo

 

Immagine 2023-09-29 200546.png

 

Thank you all!

Accepted Solution (1)

Beae_Cass
Shopify Partner
436 167 176

This is an accepted solution.

Hi @ventukelevra92 ,

This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.

 

While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:

1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file
3. Paste below code before </body>:

<style>
.image-with-text__text-wrapper > p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
</style>

Beae_Anthony_0-1696016834582.png

 

Best regards,

Anthony

Beae - The NextGen Page Builder


- Was my answer helpful? Please hit Like or Mark it as solution!
- Get in touch with us: App Store | Demo Template

View solution in original post

Replies 5 (5)

Beae_Cass
Shopify Partner
436 167 176

This is an accepted solution.

Hi @ventukelevra92 ,

This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.

 

While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:

1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file
3. Paste below code before </body>:

<style>
.image-with-text__text-wrapper > p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
</style>

Beae_Anthony_0-1696016834582.png

 

Best regards,

Anthony

Beae - The NextGen Page Builder


- Was my answer helpful? Please hit Like or Mark it as solution!
- Get in touch with us: App Store | Demo Template
ventukelevra92
Tourist
3 0 2

Thank tou Anthony, it works!

Made4uo-Ribe
Shopify Partner
6961 1655 2038

Hi @ventukelevra92 

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:

 

image-with-text-item.image-with-text__content.text-container p {
    margin: 0px;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696019308187.png
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.
ventukelevra92
Tourist
3 0 2

Thank you all for solutions, it works!

Made4uo-Ribe
Shopify Partner
6961 1655 2038

Welcome, please Mark Solution 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.