- Posts: 2
- Thank you received: 0
Problems adding logo to invoices/emails
10 years 1 month ago #248791
by lickstaph
Problems adding logo to invoices/emails was created by lickstaph
Hello,
I have hikashop business version, and I've added some HTML and CSS to the ORDER_NOTIFICATION_SUBJECT email in order to insert a business logo:
In the preview, the CSS works properly as intended:
However, in the actual email, the CSS stops working:
Is there a way to fix this?
Any help is greatly appreciated.
I have hikashop business version, and I've added some HTML and CSS to the ORDER_NOTIFICATION_SUBJECT email in order to insert a business logo:
Code:
<img src="http://beeorbit.com.au/images/logo.png" style="float:right;height:100px;width:100px;padding-bottom:32px;padding:right:20px;"></img>
In the preview, the CSS works properly as intended:
However, in the actual email, the CSS stops working:
Is there a way to fix this?
Any help is greatly appreciated.
Please Log in or Create an account to join the conversation.
10 years 1 month ago #248802
by nicolas
Replied by nicolas on topic Problems adding logo to invoices/emails
Hi,
You can't use CSS as you want in emails because different email clients supports different bits of CSS.
Here is a great page with a table of what CSS is supported where:
www.campaignmonitor.com/css/
So instead of floating elements, it's better to use a table with the align attribute, like in the old times.
stackoverflow.com/questions/14438148/rig...ge-for-outlook-email
stackoverflow.com/questions/127498/what-...ail-design-are-there
You can't use CSS as you want in emails because different email clients supports different bits of CSS.
Here is a great page with a table of what CSS is supported where:
www.campaignmonitor.com/css/
So instead of floating elements, it's better to use a table with the align attribute, like in the old times.
stackoverflow.com/questions/14438148/rig...ge-for-outlook-email
stackoverflow.com/questions/127498/what-...ail-design-are-there
Please Log in or Create an account to join the conversation.
10 years 1 month ago #248960
by lickstaph
Replied by lickstaph on topic Problems adding logo to invoices/emails
That solved it!
Thanks a lot for your help Nicolas (y)
Thanks a lot for your help Nicolas (y)
Please Log in or Create an account to join the conversation.
Time to create page: 0.201 seconds