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

Custom font CSS won't take to the website - is there something wrong with the code? What other ways can I code this?


soul_capital

Question

I changed templates from Wells to Five, the CSS code on Wells I copied and pasted into the Five template, but the template won't take to the code. Our organisation has a custom font. This is the code that I used:

// Adding Gotham Book Font //

@font-face { font-family: 'Gotham-Book'; src: url(https://static1.squarespace.com/static/5384020ce4b01f43fc27da04/t/5d2d14509251be00011e7995/1563235408693/Gotham+Book+Regular.otf);}

// Assigning Font Sizes //

h1 {font-family:Gotham-Book;font-size:55px; colour: rgb(37, 42, 98);letter-spacing: 2px;}

Is there something wrong with the code? What changes should I make? I need to have different heading sizes and colour changes to the sizes. I've contacted Customer Support already - it is not a bug on their end. Please help.

Edited by soul_capital
Initial Revision
Link to comment
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

@soul_capital It should be


h1 {
font-family: Gotham-Book !important; 
font-size: 55px !important; 
colour: rgb(37, 42, 98) !important; 
letter-spacing: 2px !important; 
}


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

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


×
×
  • Create New...