How to start new line in subheading (Dawn slideshow)

TeamPockets
Tourist
6 0 1

Hi, im building a store using theme Dawn, in slideshow, i want to use multiple lines for my subheading, how can I start new lines? or is it easier to add more subheadings below the default one? it serves the same purpose. Capture.PNG

Replies 5 (5)

TeamPockets
Tourist
6 0 1

Also, how can we customize the text size/style in heading and subheadings? 

TeamPockets
Tourist
6 0 1

here is my store url: My Store (finallypockets.co)

akoko
Visitor
3 0 0

I have the same problem: <br> tags are not allowed in subheadings!

akoko
Visitor
3 0 0

Finally I found a workaround: write \n wherever I want to add a line break.
Edit slideshow.liquid in the sections folder as follows :
 {%- if block.settings.subheading != blank -%}
<div class="banner__text rte" {{ block.shopify_attributes }}>
<p>{{ block.settings.subheading | newline_to_br }}</p> {% comment %}added newline_to_br to transform \n into <br> {% endcomment %}
</div>
{%- endif -%}

seems to be working...

akoko
Visitor
3 0 0

forgot to mention : \n shall be put directly into the json file of your page