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
155 1 56

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
7703 1859 2274

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 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.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

niraj_patel
Shopify Partner
2378 514 511

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
2378 514 511

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
155 1 56

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

niraj_patel
Shopify Partner
2378 514 511

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
7703 1859 2274

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 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.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
NOT1
Shopify Partner
155 1 56

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
7703 1859 2274

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

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.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
NOT1
Shopify Partner
155 1 56

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
7703 1859 2274

Good to hear!

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.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.