How do I target the font size within a terms and conditions widget using CSS?

  • Nick Tucker
    Asked on November 1, 2022 at 9:17 PM

    How do I target the font size within a terms and conditions widget which is currently 16px when the rest of my form is 15px. I need it to be smaller (15px or lower) to match.
    Have tried endless combinations of CSS selectors without any success...help! 😃

  • Amin JotForm Support
    Replied on November 2, 2022 at 1:33 AM

    Hello Nick,

    Thanks for reaching out to Jotform Support. Please inject the following CSS code into the said widget as shown below:

    #_label {
      font-size: 15px !important;
    }


    1667367054 6362008ee51ac  Screenshot 10

    Related guide: How-to-inject-css-codes-to-widgets

    Should you have any further inquiries, please feel free to get back to us.

  • Nick Tucker
    Replied on November 2, 2022 at 11:35 PM
    Many thanks. I had the right CSS, but was putting it into the global CSS. Works great now.
    Cheers,
    Nick.
    ...