Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Table color on Order Confirmation page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-30-2006, 12:55 PM
 
sunedaze sunedaze is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 46
 

Default 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?
__________________
Thanks,
Sienna
x-cart gold version 4.0.18
Reply With Quote
  #2  
Old 08-30-2006, 02:05 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Table color on Order Confirmation page

mail/html/order_data.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-30-2006, 03:13 PM
 
sunedaze sunedaze is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 46
 

Default Re: Table color on Order Confirmation page

Thank you - that fixed it!
__________________
Thanks,
Sienna
x-cart gold version 4.0.18
Reply With Quote
  #4  
Old 09-09-2006, 06:56 PM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default 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.
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #5  
Old 09-10-2006, 11:28 AM
 
sunedaze sunedaze is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 46
 

Default 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.
__________________
Thanks,
Sienna
x-cart gold version 4.0.18
Reply With Quote
  #6  
Old 09-10-2006, 01:03 PM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default 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.
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:33 PM.

   

 
X-Cart forums © 2001-2020