Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2010
    Posts
    1
    Plugin Contributions
    0

    Default Changing Font Size & Color on Subcategories

    [FONT="Georgia"]Could someone please explain how to change the subcategory font size & color in a step by step fashion? I cannot find the answer in the threads. TYVM this is all so new to me.
    I am currently using Zen Cart 1.3.8a. If you want to see how tiny it is www.lilmissprissboutique.com
    [/FONT]

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing Font Size & Color on Subcategories

    explain how to change the subcategory font size & color
    If you are meaning the links in the center of the page
    In the template stylesheet.css open and add at the bottom and adjust to suit
    Code:
    .categoryListBoxContents a:link {
            font-size: 1.5em;
            color: blue;
            }
    Zen-Venom Get Bitten

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

    Default Re: Changing Font Size & Color on Subcategories

    By "subcategory" do you mean the text in the center column after you click a category in the sidebox? All of your text seems quite small, and you may want to consider resetting the basic body font size:
    Code:
    body {
    	margin: 0;
    	font-family: verdana, arial, helvetica, sans-serif;
    	font-size: 62.5%;
    	color: #613d31;
    	background-image: url('http://lilmissprissboutique.com/includes/templates/mischiefpinkpolka/images/main_bg.jpg');
    	}
    Styling like font and color is done in /includes/templates/your_template/css/stylesheet.css.
    Install Firefox and its Web Developer and Firebug extensions. They will help you find the classes and ids to edit, and let you try things in real time before changing your actual files.

  4. #4
    Join Date
    Apr 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Changing Font Size & Color on Subcategories

    How do you change the font color of the subcategories that are listed in the side box? I am using the classic template and the main text is green, the subcategories show up as red. Thanks!

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

    Default Re: Changing Font Size & Color on Subcategories

    In your stylesheet, find
    a.category-top
    and change/add properties as desired.

    The subcat rules will be close to that one as well.

  6. #6
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    160
    Plugin Contributions
    0

    Default Re: Changing Font Size & Color on Subcategories

    I really don't want to create a new thread when my question is related to this thread... This is the newest thread..

    I want to change the font size and colour of the top Categories so it's easier to see the top from the sub categories.

    I have searched the forum and all the answers point to adding:

    a.category-top {font-size:100px;color:#CC0066;}

    The colour works great. however, I can't get the size to change no matter what... what am I overlooking?

    Im using ashley_pink template... if that is relevant and the latest zencart.

    www.thelittlestgiftboutique.com/teststore

    Thank you~

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

    Default Re: Changing Font Size & Color on Subcategories

    This rule overrides a.category-top{}:

    stylesheet_bettercategoriesezinfo.css (line 11)

    .betterCategories a, .betterCategories a:visited, .betterDocuments a, .betterDocuments a:visited, .betterEzpages a, .betterEzpages a:visited, .betterInformation a, .betterInformation a:visited, .betterMoreinformation a, .betterMoreinformation a:visited, .betterBestsellers a, .betterBestsellers a:visited {
    font-size: 15px;
    }

    Add a new rule
    .betterCategories a.category-top, .betterCategories a.category-top:visited {font-size: whatever;}

 

 

Similar Threads

  1. v150 Need help changing font color and size
    By ilovesteppin in forum General Questions
    Replies: 3
    Last Post: 12 Feb 2013, 07:09 PM
  2. Changing font/size & color
    By scooter in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 19 Aug 2009, 05:21 AM
  3. Change attribute font size & hover color
    By mkopecky in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 27 Apr 2009, 09:46 PM
  4. Changing Font size of Shop name on invoice & packing slip
    By tracib in forum Managing Customers and Orders
    Replies: 4
    Last Post: 18 Feb 2008, 03:15 PM
  5. changing font size/color for THIS line of text??
    By recordshow in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Feb 2007, 08:10 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