How to change font style and color in Heading?

  • Profile Image
    bnitschke
    Asked on March 01, 2012 at 01:14 PM

    How do I change the Heading Font Color and Style in a form.  I see how to change it in the body of the form but not the heading.

     

    thank you! Bob

  • Profile Image
    abajan
    Answered on March 01, 2012 at 04:55 PM

    The selector to style the headers in your forms is .form-header-group h2. For example, the following injected CSS will make the heading texts green:

    .form-header-group h2 {
    color: #3F3;
    }

    Of course, other declarations can be added to the rule to change other properties of the headings, as illustrated below:

    .form-header-group h2 {
    color: #3F3;
    font-weight: normal;
    font-style: italic;
    font-family: Helvetica, Verdana, Arial, sans-serif;
    }

    If you need further assistance with this, do let us know.

  • Profile Image
    grisu59
    Answered on June 08, 2012 at 06:01 AM

    And to change colour and other parameters of undertitle??

    and backgroud color?

    wich is the iniection code?

     

    Thanks

  • Profile Image
    abajan
    Answered on June 08, 2012 at 06:08 AM

    If you're referring to the sub-labels like "First Name" and "Last Name" found under the text boxes in "Full Name" fields, inject the following rule, changing the colour to suit:

    .form-sub-label {
    color: red;
    }

  • Profile Image
    californialegalsolution
    Answered on July 25, 2012 at 02:02 PM

    It appears the color in the injected CSS is number coded?  Is a CSS color number chart available?

  • Profile Image
    jeanettebmz
    Answered on July 25, 2012 at 05:17 PM

    Yes, it is. Please refer to this site

    Another trick would be to use  the Background field in order to  copy and paste the color code of your choice into the Custom CSS style, just make sure you follow the Syntax

     

     

     

    Jeanette

     

  • Profile Image
    Stainglass
    Answered on February 22, 2014 at 10:29 AM

    Is it possible to change the colour of the text/price that is put next to the items for sale through the paypal tool?

  • Profile Image
    Welvin
    Answered on February 22, 2014 at 02:09 PM

    @Stainglass,

    Yes, that is possible. We can help you with the custom CSS codes, but we advise to please create a new thread for that. You can start from here: Contact JotForm Support

    Thanks