How to change cell background color in email alert

  • kingkest
    Asked on September 1, 2015 at 8:57 AM

    I have a question Would you like to create another door? I am trying to make it Red. I usedYES but when I did my conditions stopped working for that question but when i take the code out it works.

  • kingkest
    Replied on September 1, 2015 at 9:54 AM

    Just the Yes and No need to be red.

  • Sammy
    Replied on September 1, 2015 at 12:31 PM

    You can use the form designer to target the two labels using their ID

    How to change cell background color in email alert Image 1 Screenshot 30

    In the CSS tab of the designer add the following CSS snippet at the end of the editor

    #label_input_30_1,#label_input_30_0 {
    color:red;
    }

    How to change cell background color in email alert Image 2 Screenshot 41

    The id values correspond to the ones for the label, you can use your browser inspector to check also in the CSS tab you can double click on the label to automatically add it to the editor window on the right

     

  • kingkest
    Replied on September 1, 2015 at 12:34 PM

    My boss told me instead of red words to make it a yellow background. I achieved this on your form designer BUT it does not change it in the email.

     

    So basically I need Black words a yellow background on the text for Yes and it needs to show on the Email.

  • Mike
    Replied on September 1, 2015 at 2:49 PM

    This is possible to change the cell background color in email notification template, but this is not something that you can use together with the 'Hide Empty Fields on Emails' option which is currently enabled on your form.

    You will need to unlock data table on email template to disable the 'hide empty' option and then change the cell background color. Please see the next animation.

    How to change cell background color in email alert Image 1 Screenshot 20

    Thank you.