Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Change Price font and size
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jayceew
VP-CART New User

USA
114 Posts

Posted - December 03 2006 :  20:34:25  Show Profile  Reply with Quote
Hi All,
Can anyone help me change the size and color of the product price? Or tell me where to find formatting for this?

Thanks

Jack

Kidd
VP-CART Super User

Australia
373 Posts

Posted - December 03 2006 :  23:04:07  Show Profile  Reply with Quote
I think it should be on shop$color.asp, around line 69 - Const ProdColumnPrice="<td align=center bgcolor='#FCFCFC'>"

Edited by - Kidd on December 03 2006 23:04:32
Go to Top of Page

ironhawker
VP-CART Super User

USA
260 Posts

Posted - December 09 2006 :  00:27:06  Show Profile  Visit ironhawker's Homepage  Reply with Quote
I think line 68 might be better....
So that would mean something like

68 - Const ProdColumnFont="<font face='tahoma,arial,verdana'>"
69 - Const ProdColumnPrice="<td align=center bgcolor='#FCFCFC'>"
70 - const ProdPriceEnd="</font></td>"

would now be...

68 - Const ProdColumnFont="<font face='tahoma,arial,verdana' size='small' color='#696867'>"
69 - Const ProdColumnPrice="<td align=center bgcolor='#FCFCFC'>"
70 - const ProdPriceEnd="</font></td>"

if you wanted it about 12 px and changeable, by most browsers font size scrollers....if you assign exactly 15 px then it will always be that, which most old blind-type people can see
or
You could assign line 68 a class named whatever you wanted for better control, including padding, background images, borders or whatever else you can add to css features, which are plentiful.
68 - Const ProdColumnFont="<font face='tahoma,arial,verdana' class='pricesize'>"

~-~-~-~-~-~-~-~-~-~
Randy "RC" Corn
Institute of Higher Learning

[email protected] 425-828-0738
Go to Top of Page

jayceew
VP-CART New User

USA
114 Posts

Posted - December 18 2006 :  22:03:23  Show Profile  Reply with Quote
Hi All,

None of those things worked. But I did figure it out.

In the tmp.productformat.htm template on line 21 I noticed
<span class='price'> . But I had no price style sheet in shop.css.I had to create a style sheet for price in shop.css. and now it can be easily changed.

Thanks

Jack
Go to Top of Page

ironhawker
VP-CART Super User

USA
260 Posts

Posted - December 19 2006 :  20:34:39  Show Profile  Visit ironhawker's Homepage  Reply with Quote
So Line 21-22 =:
<strong>~langproductprice^:</strong> <span class='price'>
[FORMATCUSTOMERPRICE cprice]
</span><br>
$ <strong>~langproductretailprice^: </strong><strike>[formatcurrency retailprice]</strike><br>
and therefore:
the strike price could be assigned a class with this template....or...any custom template you created.
The $ at the beginning of line 22 designates that if nothing is entered in the retail field in your virtual -admin that there will NOT be a calcualtion or stike-out of the original retial price.
If you need more assistance or ideas...check out http://www.ironhawker.com

~-~-~-~-~-~-~-~-~-~
Randy "RC" Corn
Institute of Higher Learning

[email protected] 425-828-0738
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00