I have done a bunch of googling and tried a bunch of suggestions from previous similar threads but can’t seem to find a solution to this… I’m trying to remove the thick white lines (or make them black if that’s easier). They don’t appear to be padding, unless I’m missing something!
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
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:
Hi, you helped me a few months ago… i now have a similar problem on the blog page… both at the top and the bottom of the blog post… hope you can help! Thanks in advance!
This happen because an element inside your section has big top margin, but this margin kinda “protrudes” from the section.
There are several ways to combat the white lines:
Set the site background to the same dark color your section has;
Change from margin-top to padding-top for that element;
Easiest – make this element to contain their children elements, including their margins.
To do this, use this CSS code:
.article-template {
overflow: auto;
}
You can paste it into this section’s “Custom CSS” setting (will prevent possible side-effects), Theme settings => “Custom CSS” or into your stylesheet asset (not recommended, as it will difficult to update your theme to newer version).