How to add Google fonts to your online forms?

If you were wondering on how to add Google fonts to your online forms, here is how to do it:

1. In your 123FormBuilder account, go to the SettingsThemes section of your form and click the link Use custom CSS.

how to add Google fonts to ></p>
<p>2. In the custom CSS lightbox, add the following code:</p>
<pre>@import url(//fonts.googleapis.com/css?family=Lobster); 
.class123-label, input, #id123-button-send, body {font-family: 'Lobster', cursive;}</pre>
<ul>
<li>Replace <em>Lobster</em> with the Google font you want to use and make sure you copy its appropriate font family from the  webpage.</li>
</ul>
<p>3. Hit <b>Apply</b> and you are done. </p>
<p><img src=Google fonts website, select the font and click the Quick-use button (bottom-right). Next, scroll down and copy the code below the section Integrate the fonts into your CSS. This is the font family that is used for the Google font you want to add.

Note: Below is the table with the classes and IDs used on 123FormBuilder. Include them in the code above if you need to.

.col1 {padding:5px 10px !important; width:150px; border:1px solid #ccc !important;}
.col2 {padding:5px 10px !important; width:250px; border:1px solid #ccc !important;}

123FormBuilder class/ID What it represents
.class123-label Form field labels.
.class123-labelmic Form field system instructions (e.g. First, Last from the Name field).
.class123-labelinfo Form field instructions provided in the editor of the form.
input Form field inputs (e.g. textbox, email).
textarea Text Area field
#id123-button-send Submit button.
body Form headline and the language bar label (for multi-lingual forms).
#id123-button-calc Calculate button (if payments are enabled).
.class123-select Options from the dropdown field.
Olivian Stoica
Olivian Stoica
Oli's enthusiasm for helping our fellow users led him to write thorough know-how articles and tutorials that would make form building a bliss on 123FormBuilder.

2 Comments

  1. Kriti Kansal says:

    Hi Olivian

    I tried using the following code in Custom CSS light box

    @import url(//fonts.googleapis.com/css?family=Merriweather);
    .class123-label, input, #id123-button-send, body {font-family: ‘Merriweather’, serif;}

    But it is not changing font in my form.
    Merriweather is a google font and I followed the steps mentioned above.

Leave a Reply

Your email address will not be published. Required fields are marked *

This website is using cookies. By continuing to browse, you are
agreeing to our use of cookies as explained in our Cookie Policy. OK