eftpaul Posted August 14, 2019 Share Posted August 14, 2019 I am trying to integrate my brand font onto my site. I've uploaded .otf, .tff, .woff and .woff2 files and written in the following code, but nothing is showing up. What step have I missed? @font-face { font-family: ‘Recoleta’; src: url(https://static1.squarespace.com/static/58f67b6559cc681f3e7952a4/t/5d52d24a9ba36a0001754a2a/1565708876500/Recoleta-RegularDEMO.otf), url(https://static1.squarespace.com/static/58f67b6559cc681f3e7952a4/t/5d541d6893076a0001b08473/1565793641589/recoleta-regulardemo-webfont.ttf), url(https://static1.squarespace.com/static/58f67b6559cc681f3e7952a4/t/5d541d6c6d1386000119e90f/1565793644812/recoleta-regulardemo-webfont.woff), url(https://static1.squarespace.com/static/58f67b6559cc681f3e7952a4/t/5d541d704ae1de000165caf4/1565793648439/recoleta-regulardemo-webfont.woff2); } h1,h2 {font-family: 'Recoleta', Lato;} Any help appreciated! Link to comment
paul2009 Posted August 15, 2019 Share Posted August 15, 2019 The second line doesn’t have the correct quote marks. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
paul2009 Posted August 15, 2019 Share Posted August 15, 2019 The second line doesn’t have the correct quote marks. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
eftpaul Posted August 15, 2019 Author Share Posted August 15, 2019 @Paul2009 How should it read? font-family: "Recoleta"; ? Thank you! Link to comment
eftpaul Posted August 15, 2019 Author Share Posted August 15, 2019 @Paul2009 How should it read? font-family: "Recoleta"; ? Thank you! Link to comment
paul2009 Posted August 15, 2019 Share Posted August 15, 2019 font-family: 'Recoleta'; is fine, but font-family: ‘Recoleta’; is not. Those 'smart' quotes (the angled ones in your question) won't be recognised and will cause an error. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.