New Template System in LS3.x/65/nl: Difference between revisions
From LimeSurvey Manual
(Created page with "=== Een eigen font-selector === Je kunt nu niet eenvoudig de font-selector toevoegen aan je eigen fount in opties. Wij moeten eerst de eindgebruiker de mogelijkheid geven om...") |
No edit summary |
||
Line 7: | Line 7: | ||
*Voeg in je css-bestand twee classes toe: | *Voeg in je css-bestand twee classes toe: | ||
<br> | <br> | ||
<syntaxhighlight lang="css | <syntaxhighlight lang="css"> | ||
.font-my_custom_font { | .font-my_custom_font { | ||
font-family: 'my_custom_font '; | font-family: 'my_custom_font '; |
Revision as of 21:50, 17 February 2022
Een eigen font-selector
Je kunt nu niet eenvoudig de font-selector toevoegen aan je eigen fount in opties. Wij moeten eerst de eindgebruiker de mogelijkheid geven om aangepaste packages te uploaden (Zie : De Fruity font-selector nader bekeken.)
Hoe nu verder:
- Voeg twee fonts (my_custom_font en my_custom_other_font) toe aan je thema, gebruikmakend van de CDN of je lokale server
- Voeg in je css-bestand twee classes toe:
.font-my_custom_font {
font-family: 'my_custom_font ';
}
.font-my_custom_other_font {
font-family: 'my_custom_other_font';
}
- In het XML-bestand van je thema, voeg een font optie toe (standaard wordt het my_custom_font) :
<options>
....
<font>my_custom_font</font>
</options>