A user wants to add a horizontal separator line between collapsible row headers and their content on product pages, as currently there’s no visual separation when sections expand.
Solution Provided:
Navigate to Shopify Admin → Online Store → Themes → Actions → Edit code
Open the CSS file (base.css, style.css, or theme.css) in the Assets folder
This adds a subtle border below expanded collapsible headers. The solution includes a visual example showing the result with the separator line in place.
Summarized with AI on November 9.
AI used: claude-sonnet-4-5-20250929.
I would like a straight line that separates every header and text when using collapsible rows in my products area. I dont like that it opens and there is nothing separting.
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: