Put a separator line

Suco
Excursionist
109 0 14

IMG_2594.jpeg

hello guys , can help me put a line like in the image? 

https://www.behumblee.com

 

pass-Humblee3030

 

Replies 7 (7)

lf-ecom-shops
Excursionist
58 2 6

Of course, @Suco you can. I'll code it quickly for you, shouldn't take long

lf-ecom-shops
Excursionist
58 2 6

Add a custom liquid section to your store and paste this code into it: 

<div class="divider"></div>

<style>
.divider {
    border-bottom: 4px solid black; /* Adjust thickness and color */
    margin: 20px 0; /* Adjust spacing above and below the line */
}
</style>

EZ

Suco
Excursionist
109 0 14

in base.css

don’t work for me 

lf-ecom-shops
Excursionist
58 2 6

No, not in base.css. You go to your theme editor where you edit your sections, then you click on add section and add custom liquid. Then paste the code in there.

Suco
Excursionist
109 0 14

Hi , don’t work for me 😭😭

lf-ecom-shops
Excursionist
58 2 6

Nah, can't be, wait, lemme try again

Suco
Excursionist
109 0 14

Yes , I do everything you said and don’t work for me 😭