Forums / Templates, Stylesheets, Page Layout / Annoying Gradually Shrinking Font sizes

Annoying Gradually Shrinking Font sizes

Locked
Results 1 to 4 of 4
This thread is locked. New replies are disabled.
12 May 2008, 14:50
#1
craig_heavygoods avatar

craig_heavygoods

New Zenner

Join Date:
Nov 2007
Posts:
40
Plugin Contributions:
0

Annoying Gradually Shrinking Font sizes

I'm baffled.

We have recently updated are website due to numerous problems with our old template but one of the main issues has some how managed to carry itself across.

I know its most likely not to be CSS issue mainly because I have deleted the old template from the server and updated the default templates and classic template, so I don't know if anybody knows of a module that could effect my font size?

The only part thats actually effected thou is the where it says 'price' and it only seems to occour in Firefox


Example of the problem


As you can see the font gets so small that it eventually is stupidly small!

Any help would be great.
The answers probably right under my nose but I need help pointing it out!

Regards,
Craig
12 May 2008, 16:31
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: Annoying Gradually Shrinking Font sizes

I think it's a combination of a horribly coded Template Monster template with perhaps some deletion you inadvertently made (I find it hard to believe they would have released a template that did that by default.)

There is a <small> tag coded into the output for one spot in each product which does not have a corresponding </small> tag, so they are cumulative. Meanwhile, most of the elements are absolutely sized, so the cumulative smalls only show on that one bit of text.
13 May 2008, 10:59
#3
craig_heavygoods avatar

craig_heavygoods

New Zenner

Join Date:
Nov 2007
Posts:
40
Plugin Contributions:
0

Re: Annoying Gradually Shrinking Font sizes

cheers, it was very blatent i feel like a fool!

it was just the </small> tag left off from where I had to go through every product title where I had to add product codes because the sales team couldn't see it!

Unfortunatly for them though the </small> doesn't fit into the box so I deleted the code of them.

Do you possibly know if theres any way to increase the characters you can place in the Products Name box?

Regards,
Craig
13 May 2008, 16:02
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: Annoying Gradually Shrinking Font sizes

The product name is set in the database (table products_description) as varchar(64). You can change this to varchar(128) if you need the extra space. There may be some other fields that need to be changed to accommodate this, too; Ajeh mentioned them a while ago.

I also notice that the descriptions cut off in the middle of words; this is another TM hack where they have written their own code for the display instead of using the ZC code which truncates to whole words. TM may also have hard-coded the cutoff length, so if the admin setting doesn't work, you know why.