I installed this mod a while ago and I don't have the text instructions anymore.
How do you add dividers/separators between the categories?
I installed this mod a while ago and I don't have the text instructions anymore.
How do you add dividers/separators between the categories?
Hello,
How do I add borders around each box of categories?
I have 3 boxes of categories (top manufactures, top phone brands, other departments) but have only 1 define in "categories dressing" php file. This is because they are all links (no actual categories were made in admin).
When I add borders in the stylesheet, I get around borders around all of them instead of per box so it looks like I have borders around the whole left column.
Any help would be much appreciated.
Thanks
jmsnyder23 - This mod can only affect the categories sidebox; it has nothing to do with what happens in the center of the page.
autoace - Categories Dressing will affect the categories sidebox on every page unless you add special rules to limit it.
rrzc - In /includes/languages/english/extra_definitions/your_template/categories_dressing_defines.php, make a define for each category id where you want to have a divider above it, like this:
define ('CAT_BOX_HEADING_52','0|1||');//divider only - style 1
Or if you want dividers between all of them, you can edit a stylesheet rule, like
#categories li+li.cat-top a {border-top: 1px solid #aabbcc;}
Last edited by gjh42; 9 Jun 2010 at 12:46 PM.
Berserker - What you are describing is rather strange, and I would have to see it to advise on making it work the way you want. Why and how do you have no actual categories, if you want to categorize your products?
gjh42,
sent you a pm.
hope that's ok, the site is hardly finish so dont want the domain advertised here yet...
thanks
OK, you do actually have a full complement of categories, even though you have hard-coded all of the links (leading nowhere) in one heading define for category 92. The question I still have is why you do not want to let the system dynamically link to the categories.
For the setup you have now, of course you are unable to distinguish between the different groupings - you have used the same heading class numbers for each type of link. You could do something like this if you want the groups to have the same colors and borders (changes from your current define in red):In your stylesheet:Code:define ('CAT_BOX_HEADING_92','1|0||| <a href="">DVD</a>|2t|<a href="">Blu-Ray</a>|2|<a href="">English Manga</a>|2|<a href="">Books & Magazines</a>|2|<a href="">Apparel</a>|2| ... |2|<a href="">Wall Scrolls</a>|2|<a href="">Toys & Figures</a>|2b| Top Manufacturers|3| Electronics|1| <a href="">Acer</a>|2|<a href="">Apple</a>|2|<a href="">BlackBerry</a>|2| ... |<a href="">Pentax</a>|2|<a href="">Samsung</a>|2|<a href="">Sharp</a>|2|<a href="">Sony</a>|2|<a href="">Sony Ericsson</a>|2| <a href="">Toshiba</a>|2b| Collectibles|4| <a href="">ADV</a>|2|<a href="">Alter</a>|2| ... |<a href="">Viz Media</a>|2|<a href="">Yamato USA</a>|2b| Other Departments|3| <a href="">Best Sellers</a>|2|<a href="">New Releases</a>|2|<a href="">Coming Soon</a>|2|<a href="">Clearance</a>|2|<a href="">Promotions</a>|2b|');
Code:.catBoxHeading2t, .catBoxHeading3, .catBoxHeading4 { /*top link or heading in a group - top & side borders*/ ... margin: 0; padding: 0.3em 0.4em; border-top: 1px solid #ffaabb; border-left: 1px solid #ffaabb; border-right: 1px solid #ffaabb; } .catBoxHeading2, .catBoxHeading1 { /*middle link in a group - side borders only*/ ... margin: 0; /*no top or bottom margins so the borders touch the neighboring borders*/ padding: 0.3em 0.4em; border-left: 1px solid #ffaabb; border-right: 1px solid #ffaabb; } .catBoxHeading2b { /*bottom link in a group - side & bottom borders*/ ... margin: 0; padding: 0.3em 0.4em; border-left: 1px solid #ffaabb; border-right: 1px solid #ffaabb; border-bottom: 1px solid #ffaabb; }
Hello,
Thanks for the reply.
I have categories made in admin but they will not show in the left column (using hidecategories) as I will move them to the top. As far as I know, this module will not work if there are no categories showing in the left column so I specifically made "Weekly Special" just to make it work. If im wrong on this, please correct me.
Im doing your changes and will report back.
Thanks