What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Advice on inject CSS to change Matrix font and background

    Asked by markashton on January 21, 2011 at 08:10 AM

    Hi,

    I would like to make the following changes to a survey matrix:
    1) Remove bold appearance of font to that of normal
    2) Change background colour of matrix cells

    For the font I have tried the font-style property as follows:

    .form-matrix-row-headers {
            font-size: 12px;
            color: Black !important;
            font-family: Verdana;
        font-style:normal
    }

    .form-matrix-column-headers {
            font-size: 12px;
            color: Black !important;
            font-family: Verdana;
        font-style:normal
    }

     

    This doesn't work.

    Are the non-header cells in CSS: .form-matrix-row

    Many thanks for your help, in anticipation

    Regards Mark

  • Profile Image
    JotForm Founder

    Answered by aytekin on January 21, 2011 at 10:46 AM

    You are almost there. Replace font-style with "font-weight" and color with" background" 

    .form-matrix-row-headers {

            font-size: 12px;

            background: white;

            font-family: Verdana;

            font-weight: normal

            font-color: black;

    }

  • Profile Image

    Answered by markashton on January 21, 2011 at 12:23 PM

    Thanks.

    For anyone checking this out make sure you put a semicolon after font-weight normal. Like this:

    .form-matrix-row-headers

    {

    font-size: 9px;

    background: white;

    font-family: Verdana;

    font-weight: normal;

    font-color: black;

    }

     

     

    Regards Mark

  • Profile Image

    Answered by servicejeunesse on March 21, 2012 at 11:58 AM

    Hello !
    in my form, I've got 10 form-matrix-column-headers but I just wouldlike to change the color of ONE of them ? Is it possible to have the CSS code !

    Thank you very much for your help !

    A belgian man who tryes to speak english !

    Xavier

  • Profile Image

    Answered by fxr on March 21, 2012 at 06:25 PM

    @servicejeunesse,

    Please open a new thread for your query and include a link to the form you need help with.

     

    Thanks.