A Shopify store owner seeks help removing unwanted horizontal lines appearing between custom sections on their product page, along with reducing spacing between sections.
Solutions Provided:
CSS modifications: Multiple contributors offered custom CSS code snippets to add to the theme’s stylesheet (base.css, style.css, or theme.css), targeting .bordered-section classes with properties like border-block-start-width: 0px and adjusted margins.
Theme settings approach: One responder suggested checking the theme’s built-in section settings, which may include options to toggle borders on/off without code modifications.
Implementation methods: Solutions involve either editing code files directly through the theme editor or using the Custom CSS field in Theme Settings.
Additional Development:
A French-speaking user later joined with a similar line-removal issue on their store (nemeos.fr), having spent 5 hours attempting CSS fixes unsuccessfully. However, a follow-up response indicates the lines are not visible on their provided link, suggesting the issue may have resolved or requires clarification.
The discussion remains open with multiple viable solutions offered but no confirmed resolution from the original poster.
Summarized with AI on October 29.
AI used: claude-sonnet-4-5-20250929.
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: