How to place separator lines between sections

Solved

How to place separator lines between sections

silenceclothing
Tourist
125 0 16

Hello.

I want to place separator lines between sections like showed on picture. I am using dawn theme. Does anyone know how to do this?Skjermbilde (1).png

Accepted Solution (1)

sadik_ShopiDevs
Shopify Partner
19 2 3

This is an accepted solution.

Hi @silenceclothing 
You can easily add separator lines between sections by following this tutorial. Here's a video walkthrough that will guide you step-by-step on how to achieve this in the Dawn theme: Video Tutorial.
Feel free to follow along and let me know if you encounter any issues!
Thank you

Found it helpful? Please like and mark the solution that helped you.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery and more.
EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers

View solution in original post

Replies 5 (5)

sadik_ShopiDevs
Shopify Partner
19 2 3

This is an accepted solution.

Hi @silenceclothing 
You can easily add separator lines between sections by following this tutorial. Here's a video walkthrough that will guide you step-by-step on how to achieve this in the Dawn theme: Video Tutorial.
Feel free to follow along and let me know if you encounter any issues!
Thank you

Found it helpful? Please like and mark the solution that helped you.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery and more.
EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers
silenceclothing
Tourist
125 0 16

thanks, it worked! but how can i change color for the line?

sadik_ShopiDevs
Shopify Partner
19 2 3

You're welcome! 😊 To change the line color, simply update the #ddd value in the code to any color code you like. For example:

  • #000 for black
  • #fff for white
  • #ff0000 for red

You can find more color codes and experiment with them using a color picker tool like HTML Color Codes. Here's an example:

border-top: 1px solid #ff0000; /* Red line */


Feel free to explore and let me know if you need more help!


Found it helpful? Please like and mark the solution that helped you.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery and more.
EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers
silenceclothing
Tourist
125 0 16

I tried adding here under the picture also

silenceclothing_0-1736420255601.png

but when i add the code inside base ccs, its not working?

silenceclothing_1-1736420328104.png

 

 

sadik_ShopiDevs
Shopify Partner
19 2 3
If adding the code in the base CSS didn’t work, you can try this method:
Steps:
Go to Shopify Admin → Online Store → Theme → Edit Code.
Search for the theme.liquid file.
Insert this code just above the </head> tag:

 

<style>
section#your-section-id {
    border-top: 1px solid #ddd !important;
}
</style>

 

Make sure to replace your-section-id with the correct ID of your section. Adding !important ensures the rule overrides other styles.
Let me know if this helps!

 

Found it helpful? Please like and mark the solution that helped you.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery and more.
EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers