Decrease padding - image with text section in dawn

Solved

Decrease padding - image with text section in dawn

jasminsharp97
Shopify Partner
76 1 30

I'm working on this site: https://gelt-glow.myshopify.com/

This is the password: tughao

 

I'm trying to decrease the padding around a block of text. I'm using the "Image with Text" section in the Dawn theme. This is what I want to get rid of. How do I do that?

Screenshot 2024-11-26 121708.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9029 2160 2664

This is an accepted solution.

Hi @jasminsharp97 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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 .grid__item .image-with-text__content {
        padding: 6rem .5rem;
    }

 

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

     

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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 2 (2)

Made4uo-Ribe
Shopify Partner
9029 2160 2664

This is an accepted solution.

Hi @jasminsharp97 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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 .grid__item .image-with-text__content {
        padding: 6rem .5rem;
    }

 

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

     

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

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 ⚙️.
jasminsharp97
Shopify Partner
76 1 30

Thanks, that fixed it!