This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Fix the width of emails sent out


  1. jeet
    Member

    hi, I have a header image which is 640 px. It is used in the form as well as in the confirmation emails sent out.
    Is it possible to fix the width of my email to 640px? I have some text which i prefer to stay aligned within the header width. Currently if the email window is enlarged or stretched, the text stretches with it.
    Thanks!

    Posted 15 years ago #
  2. redityo

    Hi,

    You need to edit "includes/helper-functions.php" to do that. Try to find this code around line 326 :

    $email_body = '<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-family:Lucida Grande,Tahoma,Arial,Verdana,sans-serif;font-size:12px;text-align:left">'."\n";

    change table width value to 640px to be like this

    $email_body = '<table width="640px" border="0" cellspacing="0" cellpadding="0" style="font-family:Lucida Grande,Tahoma,Arial,Verdana,sans-serif;font-size:12px;text-align:left">'."\n";

    MachForm Support

    Posted 15 years ago #
  3. jeet
    Member

    Hi Redityo. Thanks a ton. It works perfectly.

    Posted 15 years ago #

RSS feed for this topic

Reply