- This topic has 5 replies, 2 voices, and was last updated 4 years ago by
David.
-
AuthorPosts
-
March 7, 2019 at 2:37 am #831428
Silvio
Hi,
I followed the guide for local font to install iA Writer Quattro, but it’s not working. Maybe I don’t understand something related at font-family, and I can’t find it.
GeneratePress 2.2.2GP Premium 1.7.8March 7, 2019 at 2:40 am #831433David
StaffCustomer SupportHi there,
in your @font-face can you try putting the full URL to the font.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 7, 2019 at 2:46 am #831448Silvio
sorry, here’s the correct code, I found it was missing files.
still not working.
where should I put full url?
/* spectral-regular - latin */ @font-face { font-family: 'iAWriterQuattro'; font-style: normal; font-weight: 400; src: url('../fonts/iAWriterQuattroS/iAWriterQuattroS-regular.eot'); /* IE9 Compat Modes */ src: local('Spectral Regular'), local('Spectral-Regular'), url('../fonts/iAWriterQuattroS/iAWriterQuattroS-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-regular.svg#iAWriterQuattro') format('svg'); /* Legacy iOS */ } /* spectral-italic - latin */ @font-face { font-family: 'iAWriterQuattro'; font-style: italic; font-weight: 400; src: url('../fonts/iAWriterQuattroS/iAWriterQuattroS-italic.eot'); /* IE9 Compat Modes */ src: local('Spectral Italic'), local('Spectral-Italic'), url('../fonts/iAWriterQuattroS/iAWriterQuattroS-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-italic.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-italic.woff') format('woff'), /* Modern Browsers */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-italic.svg#iAWriterQuattro') format('svg'); /* Legacy iOS */ } /* spectral-BoldItalic - latin */ @font-face { font-family: 'iAWriterQuattro'; font-style: italic; font-weight: 600; src: url('../fonts/iAWriterQuattroS/iAWriterQuattroS-BoldItalic.eot'); /* IE9 Compat Modes */ src: local('Spectral SemiBold Italic'), local('Spectral-SemiBoldItalic'), url('../fonts/iAWriterQuattroS/iAWriterQuattroS-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-BoldItalic.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-BoldItalic.woff') format('woff'), /* Modern Browsers */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-BoldItalic.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-BoldItalic.svg#iAWriterQuattro') format('svg'); /* Legacy iOS */ } /* spectral-Bold - latin */ @font-face { font-family: 'iAWriterQuattro'; font-style: normal; font-weight: Bold; src: url('../fonts/iAWriterQuattroS/iAWriterQuattroS-Bold.eot'); /* IE9 Compat Modes */ src: local('Spectral Bold'), local('Spectral-Bold'), url('../fonts/iAWriterQuattroS/iAWriterQuattroS-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-Bold.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-Bold.woff') format('woff'), /* Modern Browsers */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-Bold.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/iAWriterQuattroS/iAWriterQuattroS-Bold.svg#iAWriterQuattro') format('svg'); /* Legacy iOS */ }
March 7, 2019 at 2:49 am #831453David
StaffCustomer SupportIn each of these properties:
url('../fonts/iAWriterQuattroS/iAWriterQuattroS-regular.eot?#iefix') format('embedded-opentype')
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 8, 2019 at 2:17 am #832590Silvio
thanks it worked
March 8, 2019 at 4:50 am #832678David
StaffCustomer SupportAwesome – glad to be of help
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.