How to manipulate fonts in CSS with questfox
Posted: 24. April 2021 Filed under: Uncategorized Leave a commentIt is possible to use different fonts in a questfox survey.
If you have a corporate font that is not publicly available you should talk to your representative to help install this font on the server.
Public fonts:
If you plan to use a font out of the variety that Google is offering in the goolge font project we recommend to chose a font from this website:
Import font on the fly from google servers
/*Import of font into project */
<style>
@import url(‘https://fonts.googleapis.com/css2?family=Satisfy&display=swap’);
</style>
/*Definition of font for your project */
body {
font-family: ‘Satisfy’, sans-serif;
}
How to manipulate the question text on top of the question?
.questionText > span > p{
font-size: 1.5em;
font-weight: 600;
}
/*Definition of font */
body {
font-family: ‘TeleNeo’, sans-serif;
}