Jump to content

MattB2

Member
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MattB2's Achievements

Level 1

Level 1 (1/20)

0

Reputation

  1. Okay, so the correct answer seems to be to use the redirect URL (e.g. https://static1.squarespace.com/static/57014b5b746fb963478e3d4f/t/5d7ba83d4e25b616833d896b/1568385085375/runtime-es2015.js in @popsovy's case), not the path that @dmitrykiselyov mentioned.
  2. Okay, so the answer is to not upload the file using the file link method that tuanphan mentioned, but to use the button at the bottom of the custom CSS editor. Once the font is uploaded, clicking on it will insert the correct URL into your custom CSS.
  3. That's presumably what @popsovy was already doing, as it's the method used in the page he linked to. Unfortunately that doesn't work, as /s/filename.ext is loaded from static1.squarespace.com, for which Squarespace unhelpfully don't have a CORS Access-Control-Allow-Origin header.
  4. Doesn't seem to work now due to a CORS error - the font file is hosted on static<n>.squarespace.com, and being loaded by yoursite.com. Without an Access-Control-Allow-Origin header, the font isn't loaded. Seems to be a Squarespace bug.
×
×
  • 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.