Ich versuche, Google Webfonts open sans mit Bootstrap zu öffnen.Rendern ohne Google Web-Schriftarten mit Bootstrap?
Ich lade die Schriftarten mit:
habe ich eine Website-specific.css dass Lasten nach Bootstrap. Ich habe versucht:
.body { font-family: 'Open Sans', sans-serif;}
und auch:
.bootstrap-container *,
.bootstrap-container body,
.bootstrap-container td,
.bootstrap-container tr,
.bootstrap-container div,
.bootstrap-container p,
.bootstrap-container form,
.bootstrap-container input,
.bootstrap-container select,
.bootstrap-container textarea,
.bootstrap-container font {
font-family: 'Open Sans', sans-serif;
}
Aber es scheint, dass, egal welche Klasse Wähler ich, die bestimmte Schriftarten nicht und die Bootstrap-Schriftarten werden stattdessen geerbt. Ich bin mir nicht sicher, wie das zu debuggen ist.
Warum passen Sie Bootstrap nicht einfach an? – SLaks