Why does adding font visual code to my product page template cause it to go blank?

Trying to add font visual code in a custom liquid on a product page template. Products also use Bold Product options app.

When I add font visual, the whole page goes blank and wont load.

@LetterlyAU
Hi,
Can You Please Share Your Store URL