-
romain.galibert91Demandé le 24 août 2023 à 12:28
Bonjour,
Je souhaite modifier la couleur de mes champs de manière unitaire.
Par exemple que le champ DRAP PAIN soit en fond rouge
et que le champ SERVIETTE MAIN EPONGE soit en fond vert
Avez-vous un exemple de code CSS ?
Par avance merci
Il s'agit du formulaire https://eu.jotform.com/build/232352823455354
Romain GALIBERT
-
Afzal Jotform SupportRépondu le 24 août 2023 à 17:03
Hi Romain,
Thank you for reaching out to Jotform Support. I am currently using a translation to provide assistance, but if you want to get assistance in French language, we can forward your request to our French Support Team, but please note that it may take longer to receive a response.
I understand you want to change the background color of certain fields. This can be done by adding custom CSS to your form. Check out the steps and screencast below to see how it's done:
- Open your form in Form Builder and click on the blue Paint Roller icon on the right side of the screen.
- Under the Styles tab, paste the code below into the Inject Custom CSS area.
/*Change form field background color - 5465260*/
li#id_159 {
background-color: red;
}
li#id_160 {
background-color: green;
}
- Click on Save, and you're done.
Here's what the result will look like:
Here's the cloned version of the form that you can test.
Please give it a try and let us know how it goes.