Keep line in custom liquid under product image DAWN theme

Hello!

I am using the dawn theme and my URL is carcleansweden.se.

As mentioned in the title I would like to keep all the lines (enter) in my meta text if possible. I would like this:

To look like this:

I saw on this video: Keep Line breaks in #Shopify Multi-line Text #Metafield that it could be done but I think this is not for custom liquid and I cant find the file he was editing in.

I would hugely appreciate the help!

@CarCleanCC in video he is using debut theme, whereas yours is dawn theme, please check if you have product template file, and check if you have any code for metafields in it

Hi @CarCleanCC

It seems you have resolved it. Is there anything else that we can help you with?

Hello!

No that is a part of my description. If you scroll down this is the custom liquid that I want to replace with that don’t have lines:

Hello, I don’t have the same file as he had.

Hello @CarCleanCC ,

Here are the steps to apply the necessary changes in your Shopify store:

  1. In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.

  2. Go to your liquid file.

    Replace below given code with your liquid code.


CarClean's alkaliska avfettning kan användas till alla typer av fordon, båtar, fasader, trädäck/trall och tar effektivt bort all organisk smuts!

**Mångsidig användning:** Perfekt för fordon, båtar, fasader och trädäck.

✨**Effektiv:** Tar bort all organisk smuts som insekter, pollen och sot.

?**Koncentrerad:** Spädes ut upp till 25 liter färdigt medel.

?**Enkel applicering:** Spraya, borsta och skölj av med högtryckstvätt.

**Foamlance:** Fungerar även med foamlance!

Note : I use html entity “:sparkles:” in code because editor is not accepting special icons.

Also add this css.

.rte strong {
   padding-left: 1rem !important;
   padding-bottom:1rem !important;
}

Let me know if you need further assistance!

Thank you for your answer. But I would like it to work with metafields so It is different for all of our products if possible

@CarCleanCC – no need of same file, you can check product file in your dawn theme, or if you can add me as collab then I can check it for you