Serving SuggestionsGreat on a cracker with cheese With meats in a sandwich Use as a side with salads On soughdough with creme cheese
This is what is showing using DAWN theme, there should be four lines, not all bunched up together.
Have tried using single lines but again this didn’t work, so switched back to multi-lines, but can’t seem to get it to display correctly. Thanks
@Ellenarosemary can you please share this page link? May be your metafield is using richtext
@Ellenarosemary
Hi, if you just bind your metafield in the theme editor settings. then it will not show properly.
You need add the code to your product liquid. eg. my metafield name is listsingleline.
{%- for linevalue in product.metafields.custom.listsingleline.value -%}
{{ linevalue }}
{%- endfor -%}
Hope this helps.
tim_1
4
As @Sonya_2025 suggested, just do not edit theme code but use “Custom liquid” block for this.
Or, maybe use a rich text type metafields if it’s compatible with the theme setting you’re using (or use another block, compatible with rich text?)
1 Like
Thanks it sort of worked, the spacing is better and it matches my other metafields, but its still not showing as individual lines
@Ellenarosemary
Can you share some screenshot that how the metafield defined and how you set the value
This is how it is shown on the Products Page
This is how it is entered in the product itself, return after each line
Hope this is what you wanted
@Ellenarosemary
- First. use single line text instead
2.Reset the value on your product page. then your issue will be fixed.