How to change the background color of the columns in input table?

  • chfcorreo
    Fecha de consulta 19 de septiembre de 2022, 17:27

    Hola, estoy queriendo cambiar los colores de las filas de una tabla de enrtada pero no me deja hacerlo en alguna especifica, sino que lo hace a toda la columna y fila.

    Quisiera que ciertas celdas de la columna izquierda tengan diferentes colores para que se mas facil encontrar. He intentado con el editor CSS pero no resuelvo que lo haga en la celda fija y si en las celdas donde se ingresan dato (imputs)

    Necesito hacer esto

    How to change the background color of the columns in input table? Image 1 Screenshot 20

    Hay alguna solución? Gracias

  • Rene Jotform Support
    Fecha de respuesta 20 de septiembre de 2022, 7:06

    Hello chfcorreo,

    Thanks for reaching out to Jotform Support. You can inject the custom CSS codes below into your form in making an input table like this.

    background: lightblue;


    }


    tr:nth-child(3) > .form-matrix-row-headers {


      background: Red;


    }


    tr:nth-child(4) > .form-matrix-row-headers {


      background: Orange;


    }


    tr:nth-child(5) > .form-matrix-row-headers {


      background: Brown;


    }
    tr:nth-child(7) > .form-matrix-row-headers {


     


    Here's a screenshot of the result:

    1663671823 63299e0f52a81  Screenshot 10

    You may adjust the colors of the CSS code depending on your requirements.

    If you prefer to receive help in your native language, please let us know and we'll forward your ticket to our Spanish Support Team.

    Let us know if there's anything else we can help you with.