Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1

    Larger text for categories

    How would I go about making the sidebox category text larger.

    I see CSS for .sideBoxContent but I gather that would change the size of ALL sideboxes. I just want the categories bigger.

  2. #2
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Larger text for categories

    Edit: I misread.

  3. #3
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Larger text for categories

    Try this;
    Code:
    #categories-content {
    font-size: 12px }
    Make a backup and insert that selector into your CSS.

  4. #4

    Default Re: Larger text for categories

    THANKS, Sketchy

    It's actually #categoriesContent but you pointed me in the right direction! (didn't see that before)

  5. #5
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: Larger text for categories

    You're welcome. Good job!

    I missed that original selector(#categoriesContent) too. I guess I should have searched your CSS first. I was wondering why the original wasn't working when I first tried it virtually.. because there was one in place already.

  6. #6
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: Larger text for categories

    Just an addition, iIf you want the size to be relative you can also put font size as 'em' instead of 'px' or pixel.

    eg. 1em

    This is useful in case the visitor zoom their browser... just my 2cents

  7. #7

    Default Re: Larger text for categories

    Sketchy, yeah I thought I searched for "categories" but maybe I was in the wrong CSS file . Nice to see they thought of that!

    milkyway, I was about to use em but noticed px were used for .sideBoxContent and I thought I should be consistent.

    ---WAIT, I just checked again and both px AND em are used!

    Code:
    .sideBoxContent {
    	background-image:url(../images/box002.gif);
    	background-repeat: no-repeat;
    	font-size: 11px;
    	line-height: 125%;
    	background-position:bottom;
    	padding-top: 5px;
    	padding-left: 20px;
    	padding-right: 20px;
    	padding-bottom: 25px;
    	}
    and
    Code:
    h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger{
    	font-size: 1.1em;
    	}
    hmmm... that should probably be changed.

  8. #8

    Default Re: Larger text for categories

    Dang, I might be going back to pixels....

    When I make text larger in a browser most of the templates start falling apart.
    examples:
    http://www.unbannable.com/zen/index....&products_id=1
    http://www.ohku.com/store/
    and most of the others

    Compared to my 1st Zen store:
    http://www.naturalhistoryonline.com/...=index&cPath=3
    (which is 1.2.5 and uses px not em)

    Any thoughts?

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,716
    Plugin Contributions
    13

    Default Re: Larger text for categories

    got some lingering html code in lines 379 to 400 of your source code for demo 1.

    Has someone been playing with core files?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  10. #10

    Default Re: Larger text for categories

    I didn't create the 2 demos but I thought they were based on default_template.

    Maybe the font-size problem has to do with the conversion from tables to all CSS?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. images instead of text for categories
    By lukaswlu in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 19 Jun 2014, 12:08 AM
  2. 'larger image' text
    By JohnBoyCR in forum General Questions
    Replies: 2
    Last Post: 31 Mar 2009, 11:29 PM
  3. Larger Image text
    By pati400 in forum General Questions
    Replies: 2
    Last Post: 22 Sep 2008, 11:33 PM
  4. Changine text size for categories?
    By mikenandrea in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jan 2008, 07:51 AM
  5. Change Categories text for images
    By warstormer in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Aug 2007, 04:56 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