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

Driving me nuts: Times Roman Font in "checkout page&quo

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-30-2003, 08:32 AM
 
KathyHS KathyHS is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 143
 

Default Driving me nuts: Times Roman Font in "checkout page&quo

Okay....In my css I've selected Sans-serif (arial, verdana, etc) for the fonts.

However, on the checkout page, a customer's info is on the page in times romans font instead.

Its ugly, hard to read and this is where the customer *has* to add a different shipping name if they are sending it to someone other than themselves.

But because of the font on this page, I think its hard to read.

How can I alter the font on this particular page? Doesn't seem to be connected to css and I don't see a font call in the customer/main/checkout templates.....?
__________________
X-Cart 4.1.11
Reply With Quote
  #2  
Old 12-30-2003, 12:20 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

I think this page uses a preformatted style.

you could update the layout to use the stylesheet
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 12-30-2003, 12:24 PM
 
KathyHS KathyHS is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 143
 

Default

Thanks Shan,

I guess I don't understand. How can it be using a pre-formatted style when the xcart has css?

Can you help me? Which template needs tweaking? Is it customer details template?
__________________
X-Cart 4.1.11
Reply With Quote
  #4  
Old 12-30-2003, 01:02 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

in customer/main/checkout.tpl find ...

Code:
<pre> <font> {include file="customer/main/customer_details.tpl"} </font> </pre>

and replace with

Code:
<font> {include file="customer/main/customer_details.tpl"} </font>
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 12-30-2003, 02:01 PM
 
KathyHS KathyHS is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 143
 

Default

Removing PRE removed the
between all the lines in the customer details too.

Do I remove the <pre></pre> and then in customer details add
between all the lines of date?

Or where can I control the <pre> input?
__________________
X-Cart 4.1.11
Reply With Quote
  #6  
Old 12-30-2003, 02:04 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

it would be better if you made a new customer_details.tpl and gave it some better formatting and include that in checkout.tpl instead.

customer_details.tpl is used in some of the email templates too i think so it may cause problems if you add tags to that file
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #7  
Old 12-30-2003, 02:12 PM
 
KathyHS KathyHS is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 143
 

Default

Ahhhh, gotcha. I can copy that customer details template, rename it and change up the formating to use the font and style that I prefer. Gotcha.

Thanks, Shan!
__________________
X-Cart 4.1.11
Reply With Quote
  #8  
Old 08-13-2004, 10:30 AM
 
Beaker Beaker is offline
 

Newbie
  
Join Date: May 2004
Posts: 9
 

Default

all I did was apply a new stlye into the font tag inside the pre tags

from:

<pre>
<font>
{include file="customer/main/customer_details.tpl"}
</font>
</pre>

to:

<pre>
<font class=newstyle>
{include file="customer/main/customer_details.tpl"}
</font>
</pre>


and it worked easier then having to create a new page.
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 05:58 AM.

   

 
X-Cart forums © 2001-2020