Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 change language font in shopaddtocart
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dwight
VP-CART New User

USA
143 Posts

Posted - September 04 2006 :  14:56:53  Show Profile  Reply with Quote
I would like to know how to change the font for langcart02. I have found it in shopaddtocart.asp but not sure if that is where i need to be to change the font size, type, etc.

this is what I found and do not know how to alter to make allowance for changes in the type and size of font. new to this.

%>
<%=CartInfoFont%><%=getlang("langCart02")%><%=CartInfoFontEnd%>
<%
thanks in advance
dwight

support
Administrator

4679 Posts

Posted - September 04 2006 :  16:57:34  Show Profile  Visit support's Homepage  Reply with Quote
Dear Dwight,

You will need to modify shop$colors.asp to change the font for this setting.

Open shop$colors.asp in a text or html editor and around line 90, you should see the line:

Const CartInfoFont="<font face='tahoma,arial,verdana'>"

You can modify this code to change the font as required.

If you would prefer to style this using css, then you would need to change the two following settings in shop$colors.asp and also set up a new style in shop.css which should be located in your stylesheets folder.

Const CartInfoFont="<font face='tahoma,arial,verdana'>"
Const CartInfoFontEnd="</font>"

(using css may become something like:)

Const CartInfoFont="<span class='langinfo'>"
Const CartInfoFontEnd="</span>"

You would then define the langinfo class in shop.css

Thank you

Michael
VPASP SUPPORT
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