Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Category Header / Description Fonts
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xcs
Starting Member

USA
13 Posts

Posted - July 27 2007 :  18:12:02  Show Profile  Visit xcs's Homepage  Reply with Quote
Hello, I want to change the size of the category header / description font. Basically it is the "name" of the category. I am listing categories on shopdisplaycategories.asp with products under them as links. The cart automatically links the description of each category to a page showing all of those products in a line, but I want to increase the font size of the category description / name to set it appart from the products listed below and cannot find where to do that.

Thanks to all for your support.

Chris

Christopher E. Pedersen
http://www.SpringfieldDigital.com

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - July 30 2007 :  03:20:09  Show Profile  Reply with Quote
Hi Chris,

you can change the size of the text if you open up stylesheets/shop.css and locate the following lines (starting at line 490 approx)

/*formats the header text throughout the site*/
.txtheader{
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: x-small;
font-style: normal;
font-weight: bold;
}

This will change the size of the text for your all your headers.

Regards,
Carrol
www.deanston-electrical.co.uk
Go to Top of Page

xcs
Starting Member

USA
13 Posts

Posted - July 30 2007 :  10:07:47  Show Profile  Visit xcs's Homepage  Reply with Quote
Thanks for the reply, But that isn't quite what I needed. I tried the solution you proposed prior to posting, but it only changes the page header, not each category description / name. I then changed the css style in shop colors from txtheader to a custom css style with no result.

(Shop$Colors lines 33 - 38) changed from txtheader to custom css style catheader
' Categories
const CatHeader="<b><p align=center class='txtheader'>"
const CatRow="<TR bgColor='#FFFFFF'>"
Const CatColumn="<TD valign=top align=center><p align=center><b><font face='tahoma,arial,verdana'>"
Const CatTable="<table border=0 cellpadding=0 width='100%' cellspacing=1 bordercolor='#666666' align=center>"
Const CatColumnEnd="</font></b></p></td>"

I thought it may be because the cart was converting the description / name of the category to a link therefore converting the style to a link style so I first turned off the option to create a link (xproductcategorylinks) when that didn't work I then created a new link style and changed that in shop colors like the example above. Neither of these tries worked.

Here is a link to a screen shot of the page I am trying to change. http://www.nofearnetworkmarketing.com/nfnm-category-fonts.jpg

Thank you,

Christopher E. Pedersen
http://www.SpringfieldDigital.com
Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - July 30 2007 :  10:28:16  Show Profile  Reply with Quote
Hi Chris,

I understand now what you were trying to change.
In shop.css locate line 646 approx.

/* Category table (shopdisplaycategories.asp) */
table.tbl_category td { text-align:center; }

table.tbl_category td a {
text-align:centre;
padding:1px 0px;
color:#000099;

}


add: font-size:12px
font-weight:bold


before the color:#000099;

This should change the text style of the links to the products in each category.

Regards,
Carrol
www.deanston-electrical.co.uk
Go to Top of Page

xcs
Starting Member

USA
13 Posts

Posted - July 30 2007 :  11:14:35  Show Profile  Visit xcs's Homepage  Reply with Quote
I am running version 6.08 and my shop.css is only 370 lines long. There is no text resembling that of your reply. Not sure where to go next.

Thank you for your patience.

Christopher E. Pedersen
http://www.SpringfieldDigital.com
Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - July 31 2007 :  02:38:24  Show Profile  Reply with Quote
Sorry Chris I thought you were running v6.50. I don't think I can help with 6.08 but hopefully someone else in here may be able to.

Regards,
Carrol
www.deanston-electrical.co.uk
Go to Top of Page

xcs
Starting Member

USA
13 Posts

Posted - July 31 2007 :  12:58:14  Show Profile  Visit xcs's Homepage  Reply with Quote
No problem. I wish I could talk my client into upgrading to 6.5, but I cannot. It sounds like it is much better. Thanks for trying to help! I truly appreciate it.

Now that we have this dialog initiated does anyone care to enlighten me with their wisdom?

Thanks in advance for any help you can provide!

Christopher E. Pedersen
http://www.SpringfieldDigital.com
Go to Top of Page

xcs
Starting Member

USA
13 Posts

Posted - July 31 2007 :  14:08:50  Show Profile  Visit xcs's Homepage  Reply with Quote
Ok, I finally found it. Because the category description / name was creating a link I had to define a new css link style in shop.css. I then had to edit tmp_categorytemplate to use this class in the <TD> used to format the hyperlink. The new code:

<table border="0" cellpadding="2" width="100%">
<tr>
<TD valign=top align=center>
[FORMATIMAGE SUB]
<!--<p><a href="shopdisplayproducts.asp?id=[categoryid]">
<img border="0" src="[catextra]"></a></p>-->
</td>
</tr>
<tr>
<td class="hdrcategory" align=center valign=top>
[FORMATHYPERLINKS SUB]
<!-- <p><a href="shopdisplayproducts.asp?id=[categoryid]">
[urlencode catdescription]
</a></p>-->
</td>
</tr>
$ <tr><td valign=top align=center>[catmemo]</td></tr>
</table>

Christopher E. Pedersen
http://www.SpringfieldDigital.com
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