Support » Plugin: Easy Automatic Newsletter Lite » [Plugin: Easy Automatic Newsletter Lite] Generated Email Background

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author PillarDev


    Currently the style code that controls the background color defined in inline CSS code.

    In the EAN plugin if you open “includes/ean-functions.php” and go to line 426 (could be different since my copy has changes in it).

    You should see a line within the mail_head() function:

    $head = '<div style="width:700px;border:1px solid #EEEDED;background:#F6F5F5;padding:10px 20px;font-family:Arial,Verdana;">';

    Here you can change the background color to use an image instead.

    Refer to the following page if you are not familiar with CSS and setting background image:

    ^^ Please note that in the above page the code refers to the image in current directory where the file you are editing is at. So, if you were to just do something like background-image:url('test.jpg'); then ean-functions.php would be looking for that image in the includes folder.

    I’d recommend placing the image in the images folder within the easy-automatic-newsletter folder.

    Your code should then look something along the lines of:

    $head = '<div style="width:700px;border:1px solid #EEEDED;background-image: url(;padding:10px 20px;font-family:Arial,Verdana;">';

    Excellent – was just looking for info on how to do this.

    You should stick this in the FAQ

    Actually line #374

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Easy Automatic Newsletter Lite] Generated Email Background’ is closed to new replies.