Is there a way to change font size for matrix style questions in the Flat Layout mode?

jli5184jli5184 Community Member Qubie ✭
edited November 2019 in Custom Code

Is there a way to change font size for matrix style questions in the Flat Layout mode?

I'm using the Flat layout and on a desktop I noticed the font size will display slightly smaller for the options in matrix style questions than the default size set for all questions. Is there a way to fix this?

Tagged:

Answers

  • dobra021dobra021 Community Member Guru ✭✭

    Put the following code in the Custom CSS section of the Look and Feel editor. Adjust the font size as desired.

    .Skin .Matrix .table-cell{font-size:18px!important;}
    
  • jli5184jli5184 Community Member Qubie ✭

    @dobra021 Thanks for this! It worked for the options in the rows of the matrix but not the columns. Do you know how to also adjust the column font?

  • jli5184jli5184 Community Member Qubie ✭

    @dobra021 I tried this and it looks like it worked to change the font for both the rows and columns on desktop but then on mobile, the row font looks larger

    .Skin .Matrix .table-cell{font-size:14px!important;}

    .Skin .Matrix table th{font-size: 14px;}

Sign In to Comment