Adding a line of color to separate paragraphs in the rich text section: Dawn Theme

I’m trying to add a single line or bar of color at the top of the rich text box right before the text begins just a visual separator for aesthetic purposes. I saw it on the Narrative Theme but now I switched to the Dawn Theme and it doesn’t have it. I’ve attached pictures to better explain.

Could you please share your store URL? SO, I can guide you accordingly.

https://majestic-finds.com/?_ab=0&_fd=0&_sc=1

twowst

In your dawn theme. Add a custom liquid and add the following code: Please refer to the image for any confusion.


---

and then add the custom css by adding the following code on the bottom right. You can adjust the thickness of the line by increasing or decreasing the border from 3 pixels to any number.

hr.line {
  border: 3px solid red;
  width: 10%;
  margin: auto;
}

Please mark it as accepted if it solves your issues.

It worked but I need it the same color as the website

I am assuming you want the greenish color for the line that you used on the buttons. If so, please use the code below.

hr.line {
  border: 3px solid #3d5528;
  width: 10%;
  margin: auto;
}

It even worked without specifying the color just by typing solid, its the same thing right? I guess it just took the color from the theme

I can’t seem to add the custom liquid inside an image with text liquid. How do I do that? so that it shows the bar on top of the text inside the image with text