Jump to content

[SOLVED] order_conf.html


Recommended Posts

I'm just trying to figureout how do i change the style of {products}. in theme/mytheme/mails/en/order_conf.html I want the text size to be smaller.
I did try all method i know, the text ramain the same.
Here is the line i want to change..

 

<td style="border: 1px solid #D6D4D4; text-align: center; color: #777; padding: 7px 0; font-size: 10px; line-height: 0;" colspan="5">{products}</td>
</tr>
<tr>
<td style="border: 1px solid #D6D4D4; text-align: center; color: #777; padding: 7px 0; font-size: 10px; line-height: 0;" colspan="5">{discounts}</td>

 

I think another css code somewhere is rerwiteing my css code .

 

If i do any css modification to other lines everything work fine only {products} seams to be frozen

I use prestashop 1.6.0.9

 

Link to comment
Share on other sites

Have you tried moving your font-size property to an span-tag?

<span style="font-size: 10px;">{products}</span>

Or you could try this:

<font size="2" face="Open-sans, sans-serif" color="#555454">{products}</font>

Note: The 2nd option is taken from the same file where it says "{total_products}"

Link to comment
Share on other sites

  • 4 weeks later...

I found where the problem was:

 

The {products} style contain another html code in order_conf_product_list.tpl where another css style is overwriteing this one

<td style="border: 1px solid #D6D4D4; text-align: center; color: #777; padding: 7px 0; font-size: 10px; line-height: 0;" colspan="5">{products}</td>

 

Thank you anyway !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...