Forums / Templates, Stylesheets, Page Layout / Order Status Email - Change colour of comments

Order Status Email - Change colour of comments

Locked

Views: 1,006

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
10 Jul 2010, 11:21 PM
#1
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Order Status Email - Change colour of comments

Hi there

I am just wondering if it is possible to change the colour of the comments you write in an order status update?

For example, when you add a comment when updating the status the customer receives and email that has 'The comments for your order are: XXXXXXX' is it possible to make only XXXXX a different colour so it stands out well against the rest of the text?

Amy

12 Jul 2010, 3:16 PM
#2
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Re: Order Status Email - Change colour of comments

Sure it's possible! You'll need to touch PHP and CSS files, so you'll have to be comfortable with that. If so, read on.

Start by opening admin/includes/stylesheet.css and go to the bottom. Make a new entry for your desired color and styling, something like...

.colorComments{
  color:#FF0000;
}

Save and close the file.

Now open admin/orders.php and find this somewhere around line #556

<td [B]class="smallText"[/B] align="center"><strong><?php echo TABLE_HEADING_COMMENTS; ?></strong></td>

We need to edit the section highlighted in red. Change it to read as follows:

class="smallText colorComments"

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com