Hallo,
aktuell wird das Menü im Template "hotel" mit einem eingebundenen Google-Font dargestellt. Ich möchte aber den Font lokal nutzen. Ich habe schon den Ordner "fonts" erstellt und den Font heruntergeladen. Allerdings weiß ich nicht, was ich in der bootstrap.css ändern muss.
Folgender Code funktioniert nicht:
@font-face {
font-family: 'pt_sansregular';
src: url('../fonts/pt-sans.regular-webfont.woff2') format('woff2'),
url('../fonts/pt-sans.regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
navbar {
font-family: "pt_sansregular", system-ui, -apple-system, sans-serif;
}
Dieses Thema wurde gesperrt.