PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Easy way to change ALL the input text size

  1. following on from this post a couple of years ago. I have a few forms on one site, but i just want to increase the font size on one form to be used for users with limited vision.

    ideally i'd like to offer the user the option of increasing the font size themselves, have tried a couple of plugins out but as i expected they don't have any effect on the form, only the other text outside of the form on the page. Hey it was worth a try.

    is there a simple way of just increasing the font size on one of my many forms please?

    Posted 7 years ago on Tuesday June 11, 2013 | Permalink
  2. Sure - do you have a link to your form page that I could take a look at?

    Posted 7 years ago on Tuesday June 11, 2013 | Permalink
  3. that was quick! I've only put a basic page together to test out other plugins - you can see one at the top of the text on this page but here it is anyway

    http://www.neurologicalphysio.co.uk/testfont/

    Posted 7 years ago on Tuesday June 11, 2013 | Permalink
  4. To change the field labels for this form only you can use:

    [css]
    #gform_wrapper_7 .top_label .gfield_label {
    font-size: 30px;
    }

    To change the text inside of the inputs and textarea you can use:

    [css]
    #gform_wrapper_7 input[type=text], #gform_wrapper_7 input[type=url], #gform_wrapper_7 input[type=email], #gform_wrapper_7 input[type=tel], #gform_wrapper_7 input[type=number], #gform_wrapper_7 input[type=password], #gform_wrapper_7 textarea {
    font-size: 30px;
    }

    Just place in your theme's stylesheet (or wherever you are instructed to place custom CSS at the theme level).

    Posted 7 years ago on Tuesday June 11, 2013 | Permalink
  5. brilliant thanks so much for your help - and so quickly as well, much appreciated :-)

    Posted 7 years ago on Tuesday June 11, 2013 | Permalink
  6. No problem, glad to help!

    Posted 7 years ago on Tuesday June 11, 2013 | Permalink

This topic has been resolved and has been closed to new replies.