wie bekonne ich eine neue schrieft art in den editor ???
wie bekomme ich eine neue schrieftart in den editor ??
-
-
Im Template einen Ordner fonts anlegen und die Fonts als Webfonts runter laden und dort speichern.
Dann im CSS folgendes:Code@font-face { font-family: 'NewsCycleRegular'; src: url('templates/cseov22-grid/fonts/NewsCycle-Regular-webfont.eot'); src: url('templates/cseov22-grid/fonts/NewsCycle-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('templates/cseov22-grid/fonts/NewsCycle-Regular-webfont.woff') format('woff'), url('templates/cseov22-grid/fonts/NewsCycle-Regular-webfont.ttf') format('truetype'), url('templates/cseov22-grid/fonts/NewsCycle-Regular-webfont.svg#NewsCycleRegular') format('svg'); font-weight: normal; font-style: normal; }
Im CSS den Ordnernamen nur noch entsprechend anpassen (cseov22-grid)
Das wars.
-
das habe ich gmacht aber ich finde die schrieft nicht im editor ???
was habe ich falsch gemacht -
Cache leermachen und F5?
ISt dein Template ins 'templates/cseov22-gridZitatIm CSS den Ordnernamen nur noch entsprechend anpassen (cseov22-grid)
Weil in den css dort sehe ich den anpassung nicht!?
-
nein ich habe es in template/cseov22-grid-green oder mus ich auch in das orginal
abpassen -
ich weis nicht on ich verstanden worden bin . ich möchte eine neue schrift in meinem ckeditor hinzufügen jetzs sind dort die stanfard trinne aria theoma usw --
-
Sorry falsches
-
Sollte in de ckeditor config noch etwas sehe
ZitatSo bei ein anderer Ckeditor aber sollte hier ähnlich sein
Zitatadd the following line to ckeditor/config.js
config.contentsCss = 'fonts.css';
//the next line add the new font to the combobox in CKEditor
config.font_names = 'fontnametodisplay/yourfontname;' + config.font_names;where fonts.css has the @font-face attribute:
-
ok das habe ich auch schon gefunden aber damit komme ich nicht klar danke dir
-
ISt etwas mehr aber vielleicht so wie ich es lese auch contents.css
von editor ?Zitat -
danke dir aber das ist mir echt zu hoch ich lasse es am besten wie es ist
-
Die Anleitung war für das Frontend, NICHT der Editor!!!