| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
HTML mails and CSS | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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?
__________________
X Cart Gold 4.0.18 X Cart Gold 4.1.9 AOM Special Offers |
|||||||
#2
|
|||||||
|
|||||||
![]() 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...
__________________
X Cart Gold 4.0.18 X Cart Gold 4.1.9 AOM Special Offers |
|||||||
|
|||
X-Cart forums © 2001-2020
|