What is the class of the text widget?

  • Profile Image
    benjaminaurelius
    Asked on August 07, 2014 at 09:44 AM

    Hi,

    I would like to now what the class of the text widget (the standart text widget right below the headline widget) is called? I want to change it using google fonts. I tried .form-textarea but that does not seem to be it.

    Thank you!

  • Profile Image
    KadeJM
    Answered on August 07, 2014 at 11:59 AM

    I think you are talking about the " Text (Html) " field since you said you are referring to the field below the heading.

    Usually with our fields in our formbuilder there is often a random value assigned to the field as it's ID so this is why it's important to inspect it to double check since sometimes a standard assignment won't always work as they need to be very specific to direct it correctly.

    Normally, you can obtain this from your form field properties via the grey gear but not always so it's better to look at your form source code or browser inspector just to double-check this.

    Example:

  • Profile Image
    benjaminaurelius
    Answered on August 09, 2014 at 07:39 PM

    Hey Kade,

    thank you. I just wanted to give you a quick feedback, because I have been going crazy about this one. Maybe this will help other users:

    I checked the browser inspector and used any variation that I could find to change the font to a google font of my choice. (e.g. id_18; #id_18; .id18; textid_18). Just everything that I could find in the browser which seemed somehow related. Nothing worked.

    By pure chance I clicked in the form builder on one of my inserted text/html widgets to find out more about it. In the header I clicked on the T-symbol with the subtitle "HTML". Then I saw that it the failur was, that it had automatically inserted some styles in the html text itself. In my case something like:

    <p style="text-align: left;"><span style="font-size: medium;"><strong><span style="font-family:

    etc etc.

    I changed the font family direct in that very window and it worked perfectly.

    Thanks!

  • Profile Image
    jonathan
    Answered on August 09, 2014 at 10:40 PM

    Thank you for taking the time sharing the resolution you found.

    It will surely help other users looking for similar solution in the support forum.

    Contact us anytime if there are other concern.

    Cheers!