Jump to content

adding custom font but not showing on mobile site

Recommended Posts

Site URL: http://joedelgado.co

Hello,

I am using the Wells template and wanted to change to font of my Site Title to the font Dandelion JF and the rest of the site to Montserrat.  I have cut and pasted a code from another site which is pasted below. The fonts do not change on the mobile site maybe not even on my desktop since they are downloaded.  The fonts are not Google, they are custom.  Could someone please help with my error(s)?  Thank You in advance.

@font-face {

    font-family: 'DandelionJFhttps://static1.squarespace.com/static/597e7fc9b3db2bde61e34111/t/5f9e2a6323663121179a7ff7/1604201059887/DandelionJF.ttf';

       src: url('FontURL');

  }
/* Font Recoleta Site Title */
.logo.site-title a {
   font-family: 'DandelionJF' !important;
}
/* Font Nav */
div#topNav a {
   font-family: 'montserrat' !important;
}

Link to comment
  • Replies 1
  • Views 278
  • Created
  • Last Reply

Hi,

Remove this code

@font-face {

    font-family: 'DandelionJFhttps://static1.squarespace.com/static/597e7fc9b3db2bde61e34111/t/5f9e2a6323663121179a7ff7/1604201059887/DandelionJF.ttf';

       src: url('FontURL');

  }

add new code

@font-face {
    font-family: 'DandelionJF';
	src: url(https://static1.squarespace.com/static/597e7fc9b3db2bde61e34111/t/5f9e2a6323663121179a7ff7/1604201059887/DandelionJF.ttf);
  }

 

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

Link to comment

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.