How to fix the line break in the section descriptions?

Solved

How to fix the line break in the section descriptions?

David7291
Shopify Partner
10 1 0

Hello,

 

Can someone help me to solve a problem I'm experiencing with the theme "Aesthetic"?

 

The problem is that in all sections of this theme where there is a text editor to add a description, it is not possible to make line breaks, pressing the 'Enter' key does nothing, and if I want to do it with the tags "<br>" or "<p>" I get the following error: (The parameter "text" is invalid. The tag "<br>" is not allowed).

 

 

 

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><br>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>

<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<p>&nbsp;</p>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>

 

 

 

I don't know how to fix it or what code is missing in this theme so that I can make the line break in these sections. I have sent an email to the creators of this theme, but they don't answer... it is unfortunate not to be able to make line breaks in the descriptions.

 

I'm attaching a screenshot, the link to the theme and the website I'm having this problem on, in case it helps.

 

line-break.jpg

 

https://themes.shopify.com/themes/aesthetic/styles/noble-blue

 

https://brumasens.myshopify.com/

Pass: staibi

 

Thanks you!

Accepted Solution (1)

AnneLuo
Shopify Partner
1242 221 253

This is an accepted solution.

Hello, @David7291 

You should add '</br>' like this, not other tags.

AnneLuo_0-1713317210993.png

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 4 (4)

AnneLuo
Shopify Partner
1242 221 253

This is an accepted solution.

Hello, @David7291 

You should add '</br>' like this, not other tags.

AnneLuo_0-1713317210993.png

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

David7291
Shopify Partner
10 1 0

That was so simple, I'm even annoyed I didn't notice it earlier.... 🤣

 

Thank you very much, that works perfectly! ❤️

AnneLuo
Shopify Partner
1242 221 253

Thank you for your reply. I'm glad to hear that the solution worked well for you.
If you require any more help, please don't hesitate to reach out.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

David7291
Shopify Partner
10 1 0

I have a question, is it possible to add HTML customization to the 'description' fields and/or utilize metafields while maintaining the HTML structure?

 

I would like to use the "Collapsible content" section included in the Aesthetic theme for product descriptions and other additional information, where I need to use <ul> and <li> tags, among others. I have tried using a custom metafield for this, but the problem is that when creating a metafield to include the description created in the product in this section, the section ignores the HTML code.