change font-size for input

  • Profile Image
    ruixia
    Asked on April 28, 2011 at 03:10 PM

    Hi there,

    I tried to change font-size for the input field but failed.

    My form uses Jot Theme and I added "input, select, textarea{width: 550px; padding: 5px; font-size: 14px; }" at Preference.  However, font-size is not working out.

    Rui

  • Profile Image
    abajan
    Answered on April 28, 2011 at 03:28 PM

    Hi ruixia

    To change the font size for text areas, use the following CSS:

    .form-textarea {
    font-size:15px;
    }

    Similarly, for text boxes the code is

    .form-textbox {
    font-size:15px;
    }

    Assuming you wish to use the same font size for both types of inputs, you can use the following ruleset:

    .form-textbox, .form-textarea {
    font-size:15px;
    }

    Of course, you would change "15" to whatever size is preferable.