Okay
  Public Ticket #2862274
CSS Error in generated Email code
Closed

Comments

  •  1
    Gary started the conversation

    I set up an email with some large text which is also colored blue. However, the generated email does not show the text correctly. This is because when you add more than 1 text style to some text, Amelia writes the html code wrong.

    This is how the written code looks like in the email source:

    <strong =
    style=3D"color: rgb(0, 102, 204);" style=3D"font-size: 1.5em;">

    This is not valid CSS. The correct code should be:

    <strong = style=3D"color: rgb(0, 102, 204); font-size: 1.5em;">

    See attached screenshots ...

  • [deleted] replied

    Hi Gary!

    Thank you for reaching out to us, and for providing this informationsmile.png

    I will forward it to the developers; they will check and let us know as soon as possible.

    I wish you a great day in the meantime!

  •  2,572
    Aleksandar replied

    Hi again Gary

    As Ivana mentioned - the issue has been forwarded to our development team, so they can fix it for one of our next updates.

    Until then, you can type your notification, and save it. Then, access your database and navigate to wp_amelia_notifications table. Edit the notification you want to apply the CSS to, and save it. After that, even though it may not look correctly in Amelia/Notifications, it will send the properly configured email (you can test it by sending a test email).

    The important thing is that, when you do this, you should no longer hit "Save" in Amelia/Notifications for this notification, or the changes will be reverted.

    Sorry for the inconvenience.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables