Advice on inject CSS to change Matrix font and background

  • Profile Image
    markashton
    Asked 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
    aytekin
    Answered 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
    markashton
    Answered 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
    servicejeunesse
    Answered 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
    fxr
    Answered 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.