A user is attempting to apply a custom font to specific words in their Shopify store (Enterprise theme) by wrapping text in <span> tags with CSS classes. Instead of rendering properly, the HTML tags display as plain text on the storefront.
Current Setup:
The affected fields are defined as "type": "text" and "type": "textarea" in the section’s Liquid file
Screenshots show the HTML tags appearing literally in the output
Diagnosis:
One respondent initially suggested the fields might be rich text sections (which don’t render HTML)
The original poster clarified these are standard text/textarea fields, not rich text
Status: The issue remains unresolved. The root cause appears to be that these field types are escaping HTML by default rather than rendering it, but no solution has been provided yet.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.
I want to apply a custom uploaded font to specific words in my Shopify store. To do this, I wrap the words in tags and assign a CSS class to them. However, instead of rendering correctly, the span tags appear as plain text in my shop.
The same issue occurs when I try using other HTML tags. Why is this happening, and how can I fix it?
I am using the Enterprise theme.