Header style is not being changed by the Designer

  • charleshester
    Asked on January 2, 2016 at 12:04 PM

    Specfically, I have a header with black type on a dark gray background which is unreadable. In designer when I attempt to change the header with the header styles after clicking on the header it does not respond, i.e., nothing changes. 

     

    Jotform Thread 734662 Screenshot
  • Boris
    Replied on January 2, 2016 at 6:23 PM

    The style of the header is set by the theme that your form is using. The styles in the theme are written in a way that they take precedence over other styles, so in order to override it, we need to use custom CSS (adding codes under the CSS tab of the Designer).

    For example, if we make our CSS styles !important, our CSS will override the theme:

    .form-header-group {
        background: #E4897E !important;
    }
    .form-header-group .form-header, .form-header-group .form-subHeader {
        color: #FFF !important;
    }

    Header style is not being changed by the Designer Image 1 Screenshot 30

    In order to use different colors, simply replace the #E4897E or #FFF parts with a different color code. You can use a color picker in the Designer as when you are usually styling the header, and simply copy / paste its color code into your CSS. Please refer to the image below for visual guidance:

    Header style is not being changed by the Designer Image 2 Screenshot 41

    Please let us know how it goes, or if you hit any snags along the way, and we will be happy to help.