How do I add a grey line above my product collections, and under the header? (Refresh theme)

Hello,

I need some help to add a grey horizontal line above product collections on my Shopify store (like shown in the picture).

Does anyone know how to do it?

Using Refresh theme version 14.0.0.

Thank you! :slightly_smiling_face:

Hi @TimJansson

Would you mind sharing your store URL? Thanks!

Hello,

It is https://evinto.se/

Password is qweasd1324!

Thanks for the info, check this one.

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

h1.collection-hero__title:after {
    content: '';
    display: block;
    border-bottom: .5px solid black;
    opacity: .2;
}

And Sve.

result:

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

Thank you very much! Worked out brilliantly.

Is there anyway to get the line above the collections shown at my home page as well?

Like this?

If it is check this one.

Same Instruction.

h2.title.inline-richtext.h1:after {
     content: '';
    display: block;
    border-bottom: .5px solid black;
    opacity: .2;
}

And Save.

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

Perfect, thank you very much! :slightly_smiling_face: