Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Dec 2007
    Posts
    7
    Plugin Contributions
    0

    Default Bettercategories sub category font weight

    I am using better categories, and it seems as if the main font weight is tied into the sub category font weight when it comes to better categories? I need the top level font weight to be bold, where the subcategory weight i need to be normal in the css. my css is as follows:
    /*
    BetterCategoriesEzInfo v1.3.0.2 added 2006-06-22 gilby
    Updated to v1.3.5 2006-09-19 gilby
    */

    .betterCategories, .betterDocuments, .betterEzpages,
    .betterInformation, .betterMoreinformation, .betterBestsellers {
    border-top: none;

    }

    .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 {
    display: block;
    background-color: none;
    border-top: none ;
    border-bottom:1px solid #000;
    padding: 2px;
    font-size: 11px;
    font-weight: bold;

    }

    .betterCategories a:hover, .betterCategories a:active,
    .betterDocuments a:hover, .betterDocuments a:active,
    .betterEzpages a:hover, .betterEzpages a:active,
    .betterInformation a:hover, .betterInformation a:active,
    .betterMoreinformation a:hover, .betterMoreinformation a:active,
    .betterBestsellers a:hover, .betterBestsellers a:active {
    background-color: #ffffff;
    font-weight: normal;
    color:#9700ad;
    }

    */

    anyone know how to get the subcat weight to be normal?

    Thnak you guys very much!

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,112
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    What is the url to your site please... Post without the http://www.
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.5a Update Release Need help Purchase the Book

  3. #3
    Join Date
    Dec 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    Quote Originally Posted by haredo View Post
    What is the url to your site please... Post without the http://www.
    It is adult oriented product. pg rated, but regardless, I am letting you know.
    Giggles.com

    Thank you for your quick reply. much appreciated!

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,112
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    Locate this:
    .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 {
    border-bottom: 1px solid #000000;
    border-top: medium none;
    display: block;
    font-size: 11px;
    font-weight: bold;
    padding: 2px;
    }

    1. take the highlighed a away from above..
    2. will look like this:
    3. .betterCategories, .betterCategories a:visited, etc...etc..
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.5a Update Release Need help Purchase the Book

  5. #5
    Join Date
    Dec 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    I just did that and it didnt work... I left it to show you what wound up happening. I appreciate your help btw.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,038
    Plugin Contributions
    25

    Default Re: Bettercategories sub category font weight

    You would use the standard category type identifiers for distinctive styling, combined with .betterCategories:
    .betterCategories .category-top {} regular top cats
    .betterCategories .category-top .category-subs-parent {} top cats open to subs
    .betterCategories .category-products {} subcats
    .betterCategories .category-products .category-subs-selected {} open subcats

    and a couple of others that you might not have.

  7. #7
    Join Date
    Dec 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    Quote Originally Posted by gjh42 View Post
    You would use the standard category type identifiers for distinctive styling, combined with .betterCategories:
    .betterCategories .category-top {} regular top cats
    .betterCategories .category-top .category-subs-parent {} top cats open to subs
    .betterCategories .category-products {} subcats
    .betterCategories .category-products .category-subs-selected {} open subcats

    and a couple of others that you might not have.
    ah hah! thats why i couldnt get it. because I wasnt adding .bettercategrories before it, I was going off the standard.category-products,..

    one more question. I have .betterCategories .category-products a:hover {font-weight: normal;}
    for the subcats, but it is still coming up bold when I hover? Any ideas on that one?

    thank you guys very much for your help on this one...

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,038
    Plugin Contributions
    25

    Default Re: Bettercategories sub category font weight

    Because
    .betterCategories .category-products a:hover
    means "the link inside .category-products inside .betterCategories" when the actual element is "the link named .category-products inside .betterCategories"

    i.e.
    .betterCategories a.category-products:hover

  9. #9
    Join Date
    Dec 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    ah hah. Thanks so much for your quick replies. much appreciated!

  10. #10
    Join Date
    Dec 2009
    Location
    Canada
    Posts
    133
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    Quote Originally Posted by dimsumgurl View Post
    Hello,

    I followed your tips and got it to partially work... The colour reflects however the font size doesn't... could you shed some light?

    Code:
    A.category-top {color: #1217FB;text-decoration: none;font-size: 3em;}
    thelittlestgiftboutique.com/teststore/


    Thanks =]
    Quote Originally Posted by gjh42 View Post
    Your stylesheet_betterCategoriesEZInfo.css is loaded after stylesheet.css (so takes precedence where there is a conflict), and has rules that affect the same elements by different names.
    I found this thread and tried your tip. Thank you for explaining how it works. =]

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Sub Category description font
    By EC web in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Feb 2012, 05:47 PM
  2. Changing Sub Category Font Size found under Category Description
    By Market with a G in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 May 2011, 10:44 PM
  3. Sub-Category Font Size
    By ka1ber in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 13 Dec 2010, 03:26 PM
  4. Change header font in category with sub category
    By orphanespresso in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Dec 2007, 08:22 PM
  5. Sub category font
    By 240racr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Dec 2006, 10:42 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR