Problems adding logo to invoices/emails

  • Posts: 2
  • Thank you received: 0
8 years 2 months ago #248791

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:

<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.

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 2 months ago #248802

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

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
8 years 2 months ago #248960

That solved it!
Thanks a lot for your help Nicolas (y)

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum