Customize your quiz with Google fonts
Custom CSS enables you to update the fonts on your quiz to match your site or the theme of your test. With FlexiQuiz CSS editor, you can apply one over one thousand fonts from the Google family to your quizzes.
Fonts are an essential part of styling your quiz. The font needs to be readable and can bring the test to life. A font can make your exam look professional, and lead generation quizzes look attractive, enabling you to create that wow factor.
FlexiQuiz allows you to change most of the text on your quiz pages, such as the questions, answer options, results page labels, and more. However, it's currently impossible to change the font on navigation buttons or many test-taker messages.
Custom CSS is available for Enterprise customers.
In this guide, I'll show you how to style your text using Google fonts.
How to add a Google font to your quiz
Stage one: Choose your new quiz font
- Pick your ideal font from over a thousand choices at fonts.google.com.
- Once you've found the font you like, press on the font box.
- Choose the font style and press +Select this style.
- On the Use on the web section, select the radio button for @import
-
Copy the text that is within the (style) tags.
Note! You don't need to copy the style and /style tags because we're not linking with HTML.
- Copy the text for CSS rules to specific families. Important! Do not include the last semi-colon.
Stage two: Add your new font to your quiz
- Return to flexiquiz.com, choose an existing quiz or create a new online test.
- Go to the Configure screen and select Theme from the left-hand menu.
- Scroll down the page to Custom CSS box
- Paste the @import text into the CSS box.
-
Add the following lines below your existing @import text in the FlexiQuiz CSS box
.surveyEditorQuestion div {YOUR FONT TEXT HERE !important;}
.scPage span, .scPage p {YOUR FONT TEXT HERE !important;}
.scContentContainer label.col-sm-4 {YOUR FONT TEXT HERE !important;}
- Paste the CSS rules to specific families text (that you copied from Google fonts) in the highlighted space.
The image below shows how the final text should look in your CSS box. This text in blue depends on your chosen font - this is the information that is copied and pasted from Google fonts.
The new font is automatically applied to the text on your quiz.
To view the test press preview on the top right.
Top tip! You can also change the color and size of the fonts from the Theme screen.
Relevant help guides:
How to add a background image to your quiz.
Adding background colors to your quiz.
Blog: Seven ways to style your quiz.
Back