Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Custom font not working using CSS code


rodhavji

Question

Site URL: http://multiplestoriespodcast.com

Hi,

 

I am trying to add a custom font to my website. This is the code I am using:

@font-face { 
font-family: 'Cream';
src: url(https://static1.squarespace.com/static/5fc85217dac71e5b78803919/t/5fd3564d590d9171f96aad55/1607685710583/Cream+Peach.otf)
}
h1 {
font-family: 'Cream';
}
h2 {
font-family: 'Cream';
}
p {
font-family: 'Cream';
}

This just appears on my site as Times New Roman. I  have tried an OTF file and a TTF file in both Google Chrome and Microsoft Edge. Could it be the actual font type? Please help!

Edit: I have tried another computer that still does not appear to work. I can see that the CSS editor is clearly changing font but not to anything close to my actual font. Please help I am very confused.

Edited by rodhavji
Still not resolved
Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...