font size Billing Address in confirmation email

  • Posts: 13
  • Thank you received: 1
12 years 4 months ago #57841

Hi,

I would really like to change the font size of the heading "Billing address" in the confirmation email. I'm using the Business Edition, so far I've managed to change a few things in System -> Emails. Unfortunately the font size of "Billing addres" is not one of them :(

What should I do to change it?

Anja

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

  • Posts: 13201
  • Thank you received: 2322
12 years 4 months ago #57848

Hi crommie,

To change the font size of the heading "Billing address", you just have to edit the mail, and add the style "font-size..." in the line:

echo '<tr><td style="font-weight:bold;background-color:#DDDDDD">'.JText::_('HIKASHOP_BILLING_ADDRESS').'</td></tr>

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

  • Posts: 13
  • Thank you received: 1
12 years 4 months ago #57869

Thank you Xavier. I actually tried that, but it didn't have any effect. The line now says:

echo '<tr><td style="font-weight:bold;background-color:#DDDDDD">'.JText::_('HIKASHOP_BILLING_ADDRESS').'</td></tr><tr><td>';

If I add a font size, nothing changes. What am I missing here?

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

  • Posts: 82820
  • Thank you received: 13366
  • MODERATOR
12 years 4 months ago #57923

Are you sure that you're modifying the correct email ?
There are two emails sent: the order creation notification when the order is created and the order status notification when the order is confirmed.

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

  • Posts: 13
  • Thank you received: 1
12 years 4 months ago #57929

Hi Nicolas,

Yes, I'm pretty sure. I tested that by changing the background color of this particular line and that worked. But that's the only thing I have been able to change for this line, so far :(

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

  • Posts: 13
  • Thank you received: 1
12 years 4 months ago #57930

Just to be sure: I'm editing the ORDER_CREATION_NOTIFICATION email.

To see what happened I switched to text email, and discovered that the Billing Address heading displays as

<h2>Factuuradres</h2>.

So somewhere something forces the heading to a h2. But what? And where?

Last edit: 12 years 4 months ago by crommie.

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

  • Posts: 13
  • Thank you received: 1
12 years 4 months ago #57979

Eventually I found a solution. Since the webshop only serves Dutch customers I replaced this:

echo '<tr><td style="font-weight:bold;background-color:#DDDDDD">'.JText::_('HIKASHOP_BILLING_ADDRESS').'</td></tr>

with this:
echo '<tr><td style="font-size:14px;font-weight:bold;">Je factuuradres:</td></tr><tr><td>';

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

  • Posts: 82820
  • Thank you received: 13366
  • MODERATOR
12 years 4 months ago #58023

Then, it probably means that you must have a translation override of that text which adds the h2 tags I would say.

The following user(s) said Thank You: crommie

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

  • Posts: 13
  • Thank you received: 1
12 years 4 months ago #58049

Oops... I just discovered I did add the <h2> codes :blush:

Last edit: 12 years 4 months ago by crommie.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum