Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Location
    Frome, UK
    Posts
    40
    Plugin Contributions
    0

    Default 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
    Craig

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

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

  3. #3
    Join Date
    Nov 2007
    Location
    Frome, UK
    Posts
    40
    Plugin Contributions
    0

    Default 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
    Craig

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

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

 

 

Similar Threads

  1. Font Sizes
    By autoace in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 23 Oct 2009, 05:01 PM
  2. Global Font Size Setting: Changing Percentage and related EM Font Sizes
    By Donn in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Feb 2009, 09:20 PM
  3. font sizes
    By snow-man in forum Basic Configuration
    Replies: 0
    Last Post: 8 Aug 2008, 10:19 PM
  4. 3 problems: varying font sizes, image link borders and body font size
    By JackA in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Dec 2007, 08:28 AM
  5. Font sizes in boxes?
    By lj111970 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Apr 2007, 07:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg