Page 161 of 227 FirstFirst ... 61111151159160161162163171211 ... LastLast
Results 1,601 to 1,610 of 2267
  1. #1601
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    The define ('CAT_BOX_HEADING_xx... is not for styling the categories themselves, but for adding a heading above a category.

    Do you want all of the top categories styled the same with a black background, or just this one?

  2. #1602
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    The full set of categories is only displayed on the circuitcity site when you go deeper than the first subcategories you get from the dropdown menu.

    If you don't want other than top categories displaying in the sidebox outside of the active tree, you don't need chcategories. On the other hand, using chcategories can get you two sideboxes, one for top cats and one for the current tree. CSS can hide the unwanted levels in each sidebox, or you can code a special "case" for the active/level control function as I have shown here several times for different situations.
    Thanks for the reply.
    Got it the way we want now :)

    Question regarding the subtext, is it possible to have a hardcoded link below it? We need to have links to several faqs regarding the products in the selected category and I think this is the only way to do it. Tried several setting combinations but cant get it to work.

  3. #1603
    Join Date
    Jan 2011
    Posts
    11
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    The define ('CAT_BOX_HEADING_xx... is not for styling the categories themselves, but for adding a heading above a category.

    Do you want all of the top categories styled the same with a black background, or just this one?
    exact!

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

    Default Re: Categories Dressing

    The "subtext" can include one or more hardcoded links. Pretty much anything you can put in HTML in the define can be displayed there. You can even use PHP in the define if you know what you are doing with it.

  5. #1605
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    The "subtext" can include one or more hardcoded links. Pretty much anything you can put in HTML in the define can be displayed there. You can even use PHP in the define if you know what you are doing with it.
    How? Could you please tell me what to put in to have at least 2 hardcoded links.
    I tried the same setup we have for adding hardcoded links in the heading but it doesnt work for the subtext. It sorts of breaks it or only shows 1 link.

  6. #1606
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Got several links now on the subtext but im unable to style them individually. When I add |1 or |1| at the end of each link, it breaks it.

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

    Default Re: Categories Dressing

    The built-in styling system will only handle the subtext for one category as a single group; however, there is nothing stopping you from including spans or divs with ids in the subtext HTML, and styling those ids. Alternatively, you could give ids directly to the <a> tags, avoiding the necessity for more HTML markup.

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

    Default Re: Categories Dressing

    Just for information, I have considered the possibility of using Categories Dressing as a flyout menu, and it will work (with the chcategories option installed) just by adding the lines in red to stylesheet_chcategories_dressing.css:
    Code:
    #chcategories ul ul a {/*subcategories*/
        display: list-item;
        list-style: circle inside url(../images/bullet1.gif);/*change to list-style: none; to remove bullet*/
        background: #ffddbb;
        border: none;
        margin: 0;
        padding: 0;
        }
    
    #chcategories ul ul {display: none;}
    
    #chcategories li:hover {position: relative;}
    
    #chcategories li:hover>ul {display: block; position: absolute; left: 130px; top: 0; z-index: 100; width: 140px;}
    Adjust the values to fit your conditions.

  9. #1609
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello I have a quck question.

    I am using your mod with the simple text headings. Is there a way that I can create one of these headings a different color for specials?

    I know I use the css file to change the details but I don't know how I would make it work for a specified category. Does that make sense?

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

    Default Re: Categories Dressing

    More information: I have finally found a workaround for the IE7 list-style bug. It required changing the entire organization of stylesheet category rules and making them a bit more complicated, but it now works.

    I still need to test a refinement of ul/li nesting function for an obscure set of possible situations; when I am satisfied that that works correctly, I will finally be able to release v2.8.

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 PM

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