Custom HTML in Default Language Text?

Highlighted
Excursionist
24 0 28

Hi, is there a way to add HTML to any of the default text located in Online Store / Themes / My Theme / Language (English)? There is no text editor if I want to, for example, bold a particular statement...and if I include standard tags, they show up on the website. 

Thanks in advance for your input!
Tara

0 Likes
Highlighted
Shopify Staff
Shopify Staff
189 0 20

Hello Tara,

Keegan here from the Shopify Guru team.

While you're editing inside of the language editor, the text pieces you edit are most likely in plain text format (theme code side) so when you enter in html it reads as plain text instead of html. Thus, your code is displayed rather then loaded.

Depending on the theme, you may be able to hire a Shopify expert from the url below to make some adjustments so you can enter in some text as html instead. But there is no one easy fix, as each theme is different!

http://experts.shopify.com

Thanks for your post :)

0 Likes
Highlighted
Shopify Partner
27 2 4

Hey, You can add html in translation but you have to add to label the suffix '_html'

 

https://shopify.dev/tutorials/develop-theme-localization-use-translation-keys#including-html-in-tran...

 

Happy to help

Let us help you - Tranzistor.tech
0 Likes