css for font-family in buttons and labels (Google fonts)

  • provenpromos
    Asked on February 29, 2016 at 7:42 PM

    Hi,

    I'm able to use change the form font using .form-all as described here, but can't get it to change for my labels and button text. What would be the css for that?

  • Chriistian Jotform Support
    Replied on March 1, 2016 at 1:27 AM

    To change the font of the button, you need to go the Form Designer and click the button that you want to edit.

    Then simply insert the code below in the css as seen below.

    font-family : 'Raleway', sans-serif!important;

    css for font family in buttons and labels (Google fonts) Image 1 Screenshot 40

    css for font family in buttons and labels (Google fonts) Image 2 Screenshot 51

    Here's how the button would appear in the preview once the css has been applied.

    css for font family in buttons and labels (Google fonts) Image 3 Screenshot 62

    If you need further assistance, do let us know.

  • provenpromos
    Replied on March 1, 2016 at 3:29 PM

    Perfect, thanks!

    In case it helps anyone else, the css for all left labels is .form-label.form-label-left {}.

  • David JotForm Support Manager
    Replied on March 1, 2016 at 5:20 PM

    On behalf of my colleague, you are welcome! If you need anything else please open a new thread, we will be glad to assist you.