Hello,
I've developed a theme which uses some custom webfonts.
I've uploaded the fonts in the theme resources box and added appropriate css in the custom.css file, like the following:
Code:
@font-face {
font-family: 'Open Sans';
src: url("../files/OpenSans-Regular-webfont.woff")format("woff"), url("../files/OpenSans-Regular-webfont.ttf") format("truetype");
font-weight:400;
font-style: normal;
}
This works in that particular theme, but if I extend it, while using the derived theme I got the following errors in the browser console:
Code:
downloadable font: download failed (font-family: "Open Sans" style:normal weight:400 stretch:100 src index:0): status=2147746065 source: https://xxx.xxx.xxx.xxx/limesurvey/tmp/assets/e56e81b5/files/OpenSans-Regular-webfont.woff
Can you help?
I wouldnt' like to reload the files for each derived theme.
LS Version: 3.23.5
Best regards.
Rita