Padding around Image with Text

New Member
3 0 0

Hello Shopify Community, 

I am trying to reduce the Padding around an Image with text using the following code:

 

div#shopify-section-1573823109827 {
padding-bottom: 4rem;
padding-top: 1rem;
}

 

I have put the code in the file: theme.scss.liquid

Unfortunately the padding still persists. You can take a look at www.bruug.de
Could anyone please give a help?

Thanks, 
Rui

0 Likes
Shopify Expert
650 162 195

Hi, @Brüüg ,

This is Evita from On The Map.

 

Try adding this code:

 

#MainContent .shopify-section:first-child {
   padding-bottom: 4rem;
padding-top: 1rem; }

Did you want to edit this section - https://prnt.sc/pxhl47 ? Or you want to remove margins from the sides - https://prnt.sc/pxhly2 ?

 

 

Best,
Evita

On The Map Marketing | Developing custom Shopify Sites & Apps is our thing

- Install our latest app Accessibly - Makes your store accessible for everyone, helps to avoid fines
- Inc 5000 | Shopify Parners | 20+ stores launched | 300+ active clients
- Need help with your Shopify store? Reach out to us!
1 Like
New Member
3 0 0

Hi @OTM / Evita, 

 

Thank you for your help and fast reply :)
Yes, I wanted to reduce the padding like in the screenshot you attached.  https://prnt.sc/pxhl47

 

I have pasted the code exactly like you sent to the theme.scss.liquid file but nothing changed. 

Any other suggestion maybe? 

Thank you. 

Best, 
Rui

0 Likes
Highlighted
New Member
3 0 0

Anyone out there that maybe could give a help?

0 Likes