Change Specific Hero Text Color on Debut Theme

AaronJamesArq
Tourist
4 0 1

Hi,

 

I would like to change the color of the text on my hero image. However, when I change it by editing the code, it affects the color of all the hero text on other sections. How do I isolate this and edit only one specific section? My site is www.belizabeauties.com 

0 Likes
Suryansh
New Member
3 0 0

In the edit code section search hero.liquid then, put this in h1 tag <h1 style="color:#000000"> 

OR

rename its class and do it's customization as per your need in theme.css or theme.scss file

0 Likes
AaronJamesArq
Tourist
4 0 1

Hi,

But wouldn't that change all of my hero text sections and not just the one specific section I want?

0 Likes
stunami
New Member
5 0 0

More specifically 

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

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"
}

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