Removing top and bottom margin on Rich Text in Shapes Theme

I am trying to remove the top and bottom margin white space between the Rich Text section and so it appears closer to the image columns above and the image below.

Link to test site and screenshot of specific area below:

https://69cf52.myshopify.com/?_ab=0&_fd=0&_sc=1

1 Like

Hi @jeronimocreativ ,

Would you mind to share the password? So we can check it. You want to remove totally or just reduce? Thanks!

duquesne84

I want to remove entirely

1 Like

To clarify, I want to remove entirely in DESKTOP

Thank you for the info. But its a wrong password. :sweat_smile:

Sorry about that - mainur

1 Like

Thank you for the information. 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 “theme.scss.liquid, styles.scss.liquid or base.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:
  4. And Save.
.section-content.py-section-vertical-spacing.px-section {
    padding: 0px;
}

So, the theme.liquid file was under “Layout”, there wasnt any of the files you mentioned under Assets.

I added the code to the bottom and it still appears the same. Probably something I am doing wrong on my end…

1 Like

Oh, sorry not on that file please delete the one that you add on that file. Copy paste on the end of the base.bundle.css its on the Assets folder.

Still no luck unfortunately…

1 Like

Oh okay, You more near. try this one.

.section-content.py-section-vertical-spacing.px-section {
    padding: 0px;
}

Result:

If your still want more near on the top, this one.

.section-content.relative.z-10.py-section-vertical-spacing.lg\:px-section.lg\:max-w-site.lg\:mx-auto {
    padding-bottom: 10px;
}

Result:

Every section have top and bottom padding the top images and the lower. So we can find solution to make it more near. Remember you can adjust the sizes of the padding. Paste it on the same file.

Thank you!! That did it!