Jump to content

Unable to change font colour for custom font upload [CSS]

Recommended Posts

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
  • Replies 3
  • Views 498
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.