Debut Hero Liquid Add Text Color Schema

stunami
New Member
5 0 0

How do we add a schema to hero.liquid so Title and Text also include a text Color setting?

We want to be able to change text color independently overriding inherited global h1 and text color CSS, depending on the background color and image we choose every month.

The first step I did so far is

added below title text setting parameter schema.

{
"type": "color",
"id": "title_color",
"label": "Title Text Color",
"default": "#000000"
},

{
"type": "color",
"id": "text_color",
"label": "Text Color",
"default": "#000000"
}

However, I get an error 

Error: Invalid JSON in tag 'schema'

Has anyone modified Debut to include text color overrides to the hero text block?

0 Likes