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

LUMYO
Tourist
6 0 1

Hi,

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 : https://37e58e-bf.myshopify.com/ 

 

Please see the picture below : 

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

 

Thanks ! 

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
6474 1549 1922

Hi @LUMYO 

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. 

Result:

Made4uoRibe_0-1716755545419.png

 

 

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 Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.