Collapsible Content; Products page; Add a separating line between Heading and Row content

6 0 1


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. 


My shop is : 


Please see the picture below : 

Capture d'écran 2024-05-26 210121.png


Thanks ! 

Reply 1 (1)

Shopify Partner
6474 1549 1922


check this one. 

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:


.accordion details[open]>summary {
    border-bottom: 0.1rem solid rgba(var(--color-foreground), 0.08);


And save. 





Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.