Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

@font-face for locally uploaded fonts not working.

  • julianrob77
  • julianrob77's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago #209011 by julianrob77
So, we have this CSS code which is added to custom.css as normal:
Code:
font-family: "test";
  src: url("https://fonts.gstatic.com/s/poiretone/v9/UqyVK80NJXN4zfRgbdfbo55cVw.woff2") format('woff2'),
  url("https://admin.coronasurveys.org/upload/fonts/poiret-one-400-normal-o55cUw.eot"),
  url("https://admin.coronasurveys.org/upload/fonts/poiret-one-400-normal-5cVw.woff2") format('woff2'),
  url("https://admin.coronasurveys.org/upload/fonts/poiret-one-400-normal-55cUQ.woff") format('woff'),
        url("https://admin.coronasurveys.org/upload/fonts/poiret-one-400-normal-o55cUg.ttf") format('truetype'),
}

applying a font, as per font-family: test as normal.

But the problem is this, the code does NOT request the font files, as per chrome dev tools. The requests are simply not being made. We can see that this code is present in the custom.css file on the live survey, the files are simply not being asked for!

Why is this?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #209023 by DenisChenu
Test link ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose