Jump to content

adding a font file

Recommended Posts

Posted

Hi.

Maybe I'm reaching too far, but I'm looking for someone to tell me how to add my own font to my site. I've uploaded into the manage custom files part, but I do not know how to put it into the code.  I want to use it just for main headings.

Thanks

  • Replies 2
  • Views 400
  • Created
  • Last Reply
Posted

Add to Home > Design > Custom CSS

@font-face {
   font-name: tuanphan;
   src: url(paste url font here);
}

main-heading-class-name {font-family: tuanphan;}

replace tuanphan with your font

replace main-heading-class-name with heading CSS class

If you don't know, please share url, we can help.

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!)

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.