How to add a separator line in product page blocks (DAWN)

Solved

How to add a separator line in product page blocks (DAWN)

NOT1
Shopify Partner
282 2 127

NOT1_0-1725274090062.png

i want to add separator line at some places with the block custom liqiuids can anyone help me with the code for separator lines liqiuid

 

Accepted Solutions (2)

Made4uo-Ribe
Shopify Partner
10036 2387 3014

This is an accepted solution.

Hi @NOT1 

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.

 

.custom_information_container {
    border-top: 1px solid black;
    padding-top: 10px;
}
.product__description.rte {
     border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 10px 0;
}

 

And Save. 

Result:

Made4uoRibe_0-1725275063209.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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .product__info-container .product__description {
      border-top: 1px solid;
      padding-top: 20px;
   }
   .custom_information_container {
      border-top: 1px solid black;
      padding-top: 10px;
   }
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 8 (8)

niraj_patel
Shopify Partner
2391 516 515

Hello @NOT1 

would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
NOT1
Shopify Partner
282 2 127

.............

niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .product__info-container .product__description {
      border-top: 1px solid;
      padding-top: 20px;
   }
   .custom_information_container {
      border-top: 1px solid black;
      padding-top: 10px;
   }
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

Made4uo-Ribe
Shopify Partner
10036 2387 3014

This is an accepted solution.

Hi @NOT1 

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.

 

.custom_information_container {
    border-top: 1px solid black;
    padding-top: 10px;
}
.product__description.rte {
     border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 10px 0;
}

 

And Save. 

Result:

Made4uoRibe_0-1725275063209.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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
NOT1
Shopify Partner
282 2 127

Thanks for your reply but I just want after a particular block like before the description for that i was asking for custom liquid for the line

Made4uo-Ribe
Shopify Partner
10036 2387 3014

Oh, sorry. Do you mean only for the description not included the shipping? 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
NOT1
Shopify Partner
282 2 127

Yes . Btw i have just used 
.product__description.rte { border-top: 1px solid black; border-bottom: 1px solid black; padding: 10px 0; }
this code and its working great thanks no need to add any extra things now 🙂 

 

Made4uo-Ribe
Shopify Partner
10036 2387 3014

Good to hear!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.