X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Table color on Order Confirmation page (https://forum.x-cart.com/showthread.php?t=24481)

sunedaze 08-30-2006 12:55 PM

Table color on Order Confirmation page
 
I have yellow text to stand out againt my dark background colors, and have managed to change all my table background colors except for one. The order confirmation page that displays the processed order: /mail/html/order_invoice.tpl has a table in it that is still showing up with gray backgrounds, which my yellow text does not show up on. I went through the whole template and could change the color on EVERYTHING except the table background color. It is the top and bottom table columns that are gray, and the columns in between are the correct background color.

Does anyone know how to change that particular table color? It doesn't seem to be linked to any other table colors, since all the others I have found through the website I have been able to change...

1) What template do I need to look in?

2) What line of code affects the color?

balinor 08-30-2006 02:05 PM

Re: Table color on Order Confirmation page
 
mail/html/order_data.tpl

sunedaze 08-30-2006 03:13 PM

Re: Table color on Order Confirmation page
 
Thank you - that fixed it!

neaisha 09-09-2006 06:56 PM

Re: Table color on Order Confirmation page
 
how did you change the table background color? i want to keep the grey, but the area where the product titles appear is white and so is the text.

sunedaze 09-10-2006 11:28 AM

Re: Table color on Order Confirmation page
 
If you go into your mail/htm/order_data.tpl template under 'edit templates' you can change the background colors. I copied the first part of mine (see below):

{* $Id: order_data.tpl,v 1.18.2.7 2006/02/28 11:40:26 max Exp $ *}
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">

<TR>
<TD align="center"><FONT style="FONT-SIZE: 14px; FONT-WEIGHT: bold;">{$lng.lbl_products_ordered}</FONT></TD>
</TR>

</TABLE>

<TABLE cellSpacing="0" cellPadding="3" width="100%" border="1">

<TR>
<TH width="60" bgColor="#8B4513">{$lng.lbl_sku}</TH>
<TH bgColor="#8B4513">{$lng.lbl_product}</TH>
{if $order.extra.tax_info.display_cart_products_tax_ra tes eq "Y"}
<TH nowrap width="100" bgColor="#8B4513">{if $order.extra.tax_info.product_tax_name ne ""}{$order.extra.tax_info.product_tax_name}{else}{ $lng.lbl_tax}{/if}</TH>
{/if}
<TH nowrap width="100" bgColor="#8B4513" align="center">{$lng.lbl_item_price}</TH>
<TH width="60" bgColor="#8B4513">{$lng.lbl_quantity}</TH>
<TH width="60" bgColor="#8B4513">{$lng.lbl_total}<BR><IMG height="1" src="{$ImagesDir}/spacer.gif" width="50" border="0"></TH>
</TR>


I changed the bgColor="cccccc" to the color I wanted, bgColor="#8B4513"

You can try changing them one at a time until you see which ones affect the table cells you need to change.

neaisha 09-10-2006 01:03 PM

Re: Table color on Order Confirmation page
 
Thanks :-)

i figured it out last night after hours of being stumped. i had to go into webmaster mode and like you said, change colors until i got it right.


All times are GMT -8. The time now is 07:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.