Moin Thomas;
ich habe mich 1:1 an deiner Anleitung gehalten, der gewünschte Font wurde auch wie gewünscht eingebunden. Da ich aber einen der festgelegten Fonts im Programm auswählen muss (Beispiel Roboto) da ansonsten das Programm abstürzt, wird dieser in der style.css auch zuerst angezeigt, Montserrat wird zwar aufgeführt aber erst an zweiter Stelle - die Seite wird in Roboto angezeigt.
Dann habe ich die style.css um den Roboto Eintrag händisch gekürzt und wieder auf "Erstellen mit der in Apollo gespeicherten style.css erstellen" gestellt und jetzt funktioniert es.
style.css wie nach den Vorgaben erstellt:
@font-face{font-family:'Roboto';font-style:normal;font-weight:300;src:local('Roboto Light'), local('Roboto-Light'), url(robotolight.woff) format('woff');}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'), local('Roboto-Regular'), url(robotoregular.woff) format('woff');}@font-face{font-family:'Roboto';font-style:normal;font-weight:700;src:local('Roboto Bold'), local('Roboto-Bold'), url(robotobold.woff) format('woff');}@font-face{font-family:'Roboto';font-style:italic;font-weight:300;src:local('Roboto Light Italic'), local('Roboto-LightItalic'), url(robotolightitalic.woff) format('woff');}@font-face{font-family:'Roboto';font-style:italic;font-weight:400;src:local('Roboto Italic'), local('Roboto-Italic'), url(robotoitalic.woff) format('woff');}@font-face{font-family:'Roboto';font-style:italic;font-weight:700;src:local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url(robotobolditalic.woff) format('woff');}@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;src:url('fonts/montserrat-v24-latin-regular
style.css von mir abgeändert:
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;src:url('fonts/montserrat-v24-latin_cyrillic-regular.eot');src:local(''), url('fonts/montserrat-v24-latin_cyrillic-regular.eot?#iefix') format('embedded-opentype'), url('fonts/montserrat-v24-latin_cyrillic-regular.woff2') format('woff2'), url('fonts/montserrat-v24-latin_cyrillic-regular.woff') format('woff'), url('fonts/montserrat-v24-latin_cyrillic-regular.ttf') format('truetype'), url('fonts/montserrat-v24-latin_cyrillic-regular.svg#Montserrat') format('svg');}
Habe ich jetzt irgendetwas falsch gemacht? Ich muss jetzt nur die Einstellung in den Erweiteren Eigenschaften auf "Erstellen mit der in Apollo gespeicherten style.css erstellen" stehen lassen - sehe ich das richtig?
VG