Add more left and right padding to rich text section on mobile

Solved
ln3635
Tourist
8 0 1

Hi on mobile i would like to add more padding around the text (left and right).

 

The section was created using Rich Text block in customize themes. 

 

Page: https://lunanectar.com/pages/circular-beauty

 

IMG_AC5D8A0B91C2-1.jpeg

Accepted Solution (1)

Accepted Solutions
made4Uo
Shopify Partner
1409 215 331

This is an accepted solution.

Hi, 

 

Here is the code for the specific section

#shopify-section-template--15701152628899__16527253010dab8cad > div {
padding: 50px 30px
}

 

Just be reminded that we are volunteering to help.
✿✿✿-

Likes  

and

 Accept as Solution

  will be much appreciated.✌-✿✿✿
For more Shopify Solutions and custom codes, just visit

 Made4Uo's website

.
Keep your stuffs private. Refrain from giving unnecessary access to your store.

View solution in original post

Replies 3 (3)
made4Uo
Shopify Partner
1409 215 331

Hi @ln3635

 

Just add the code below. 

 

1. Go to Admin store > Online store > Themes > Edit code

2. Open the theme.min.css under the Asset folder then paste the code below. 

.shopify-section .homepage-sections-wrapper {
padding: 50px 30px !important;
}

 

Just be reminded that we are volunteering to help.
✿✿✿-

Likes  

and

 Accept as Solution

  will be much appreciated.✌-✿✿✿
For more Shopify Solutions and custom codes, just visit

 Made4Uo's website

.
Keep your stuffs private. Refrain from giving unnecessary access to your store.
ln3635
Tourist
8 0 1

I'd like to only change sections made by the rich text editor and not the other homepage section in grids - is this possible? thanks

made4Uo
Shopify Partner
1409 215 331

This is an accepted solution.

Hi, 

 

Here is the code for the specific section

#shopify-section-template--15701152628899__16527253010dab8cad > div {
padding: 50px 30px
}

 

Just be reminded that we are volunteering to help.
✿✿✿-

Likes  

and

 Accept as Solution

  will be much appreciated.✌-✿✿✿
For more Shopify Solutions and custom codes, just visit

 Made4Uo's website

.
Keep your stuffs private. Refrain from giving unnecessary access to your store.