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,097
    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.1 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,097
    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.1 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
    21,830
    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
    21,830
    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
    129
    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. Expanded Category List and BetterCategories
    By wasana in forum Addon Sideboxes
    Replies: 6
    Last Post: 6 Jan 2009, 11:50 PM
  2. BetterCategories, Selected category
    By esoin in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 7 May 2008, 12:36 PM
  3. Replies: 0
    Last Post: 20 Feb 2008, 05:21 PM
  4. change font weight?
    By robsnowden in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 30 Jan 2008, 09:44 AM
  5. BetterCategories -- Top Category Rollover Problem
    By srturner47 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 4 Nov 2007, 12:43 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
  •