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)
-   -   Driving me nuts: Times Roman Font in "checkout page&quo (https://forum.x-cart.com/showthread.php?t=5776)

KathyHS 12-30-2003 08:32 AM

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.....?

shan 12-30-2003 12:20 PM

I think this page uses a preformatted style.

you could update the layout to use the stylesheet

KathyHS 12-30-2003 12:24 PM

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?

shan 12-30-2003 01:02 PM

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>


KathyHS 12-30-2003 02:01 PM

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?

shan 12-30-2003 02:04 PM

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

KathyHS 12-30-2003 02:12 PM

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!

Beaker 08-13-2004 10:30 AM

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.


All times are GMT -8. The time now is 01:43 PM.

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