Exact matches only
Search in title
Search in content
Search in posts
Search in pages

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.

2 comments

  1. 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.

    1. Hello!

      I have copied your CSS code and applied it to one of our forms and it works.

      Please contact our Support Team at support@123formbuilder.com or via our contact form regarding your problem. Also, please specify the browser you are using and other details that might help us investigate (such as the operating system and the device you are using).

      For any assistance related to your account, don’t hesitate to contact our Support Team at support@123formbuilder.com or via our contact form.

      Thanks!

Leave a Reply

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