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?
Printable View
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?
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.
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.
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.
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.
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:Adjust the values to fit your conditions.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;}
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?
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.