![]() |
HTML mails and CSS
Hi,
Does anyone know if there are problems when applying CSS into HTML mails templates? I try to use the default: {config_load file="$skin_config"} ... but I've found no way to apply the defined styles (i.e <TD class="ProductTitle"> has no effect) The only solution I've seen is order_invoice.tpl using a {literal} <STYLE type="text/css"> .... What's the use of the {config_load file="$skin_config"} then? Any idea? |
Re: HTML mails and CSS
Hi,
I haven't found the solution to the {config_load file="$skin_config"} issue ... But I've found a work around that might help whoever runs into the same issue: Styles can also be defined in html_message_template.tpl. You can use something like this: <head> {literal} <STYLE type="text/css"> <!-- BODY,DIV,TH,TD {FONT-FAMILY: Verdana, Arial, Helvetica, Sans-serif; font-size:12px;} --> </STYLE> {/literal} </head> And they will be used by all the HTML mails... |
All times are GMT -8. The time now is 05:14 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.