Code to Reduce padding in section (Narrative Theme)

Hello!

I’m looking to reduce the padding in a homepage section of a site. It’s the Narrative theme and a rich text section. Looking to reduce padding above and below the Header text, ‘Testimonials’ by 50%. www.shaysway.ca

Thank you!

Hi @creativedog ,

  1. In your Admin store, click Online store > Themes
  2. Go to the theme you want to edit, click Actions > Edit code
  3. In your Asset folder, open the theme.scss and add the code below

NOTE: Your padding was 140px originally. I made it that it would be balance space on top and bottom. Top space is the 70px, and bottom space is 30px.

.rich-text.rich-text--1656530414ae4daac3 {
    padding: 70px 0 30px 0;
}
1 Like