katieslee Posted October 12, 2020 Share Posted October 12, 2020 Site URL: https://radish-sprout-t3xs.squarespace.com/home-2 Hiya, I've uploaded a custom font to a website I'm building, but can't seem to change the font colour. I've tried using the word "white" and the hex code "#ffffff", and add an !important tag, but nothing seems to make a difference. I want the font to appear white on the banner and in subsequent sections. This is the CSS I've used: // ADDING BRUSH FONT // @font-face { font-family: 'brush'; src: url('https://static1.squarespace.com/static/5d4855187a18e200010af1aa/t/5f83fa45f3350a0e266c8699/1602484850032/Wild-Irish-Rose.otf'); } // ASSIGN BRUSH FONT // h1 { font-family: brush; font-size: 80px; color: white !important; } Thank you so much in advance!! Katie Link to comment
tuanphan Posted October 12, 2020 Share Posted October 12, 2020 try h1, h1 * { color: white !important; } If it doesn't work, can you take screenshot the text you want to change color? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
katieslee Posted October 12, 2020 Author Share Posted October 12, 2020 Thanks so much for your reply, I'm afraid that didn't work. Here's a screenshot. It's the brush / handwriting font that's in black in the image. The colour changes for squarespace fonts, but not for my custom one. Link to comment
katieslee Posted October 12, 2020 Author Share Posted October 12, 2020 I think, having tried to change the colour of the font in illustrator, it's a feature of the font that it cannot be changed colour. So I'll go with something else!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.