How to change cell background color in email alert

  • Profile Image
    kingkest
    Asked on September 01, 2015 at 08: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.

  • Profile Image
    kingkest
    Answered on September 01, 2015 at 09:54 AM

    Just the Yes and No need to be red.

  • Profile Image
    Sammy
    Answered on September 01, 2015 at 12:31 PM

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

    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;
    }

    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

     

  • Profile Image
    kingkest
    Answered on September 01, 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.

  • Profile Image
    Mike
    Answered on September 01, 2015 at 02: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.

    Thank you.