PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Customisation of Email notification to user

  1. Could you please tell me which css file I must edit to change the blue lines on the Email notification the user receives after submitting a form?

    Many thanks,
    Marissa

    Posted 12 years ago on Wednesday August 22, 2012 | Permalink
  2. David Peralty

    For E-mail notifications, you need to use inline CSS.
    http://www.tizag.com/cssT/inline.php

    Posted 12 years ago on Wednesday August 22, 2012 | Permalink
  3. Sorry but how can I inline css this:
    {all_fields}

    Thank you,
    Marissa

    Posted 12 years ago on Thursday August 23, 2012 | Permalink
  4. It's not easily possible using the {all_fields} helper. Your best bet to have complete control over the notification format is to look at the source of a notification email and see how the notification is laid out, then try to replicate that format in your custom notification, albeit with your colors.

    Here is the beginning of an HTML notification from Gravity Forms:

    [html]
    <table width="99%" border="0" cellpadding="1" cellspacing="0" bgcolor="#EAEAEA"><tr><td>
    	<table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#FFFFFF">
    		<tr bgcolor="#EAF2FA">
    			<td colspan="2">
    				<font style="font-family: sans-serif; font-size:12px;"><strong>1. Do you currently attack and challenge all business assumptions?</strong></font>
    			</td>
    		</tr>
    		<tr bgcolor="#FFFFFF">
    			<td width="20">&nbsp;</td>
    			<td>
    				<font style="font-family: sans-serif; font-size:12px;">Yes</font>
    			</td>
    		</tr>
    Posted 12 years ago on Friday August 24, 2012 | Permalink