Is this the correct code
hr.catBoxDivider1 {
color: #aabbcc;
line-height: 1px;
}
Printable View
Is this the correct code
hr.catBoxDivider1 {
color: #aabbcc;
line-height: 1px;
}
Hello Glenn:
Maybe I should PM you on this as it is not strictly a questions.
In my discussion with Website Rob and our past conversations, I know you are working on modifying the code so that the list meets standards. Not meaning to rush you, but can you give me an ETA as to when you anticipate having this complete? Do you require assistance? I have a php programmer that could help you out on my $$. Let me know.
thanks.
Hi
This mod offers what I am looking for in order to customize my category box but I am hoping for a little help. I installed it on my site www.poconogiftbaskets.com/catalog I have gone over the readme file several time but am having trouble editing the code within the categories_dressing_defines.php to make the changes I want. I am using zencart 1.38a Basically, I would like to remove the black bullets in front of each category listing. I also wanted my list of categories to be organized in 3 seperate groups, each with its own non-linking header and seperated by a divider. To look something like this.
Special Occasions
Administrative Professionals
Holiday & Seasonal
Wedding & Anniversary
Baby
Birthday
Get Well
Thank You
Housewarming
Sympathy
Congratulations
Thinking of You
####################____
Theme Designs
Care Packages
Gifts for Him
Gourmet Delight
Snacks & Sweets
Romance
Fine Chocolate
Coffee & Tea
Gift Towers
Sports & Leisure
Spa
##############################
Corporate Collection
Client Appreciation
Employee Recognition
Real Estate Gifts
Gifts at Marketing Tools
Any help with this would be greatly appreciated.
Thanks
Lisa
The bullets are handled by CSS - look in stylesheet_categories_dressing.css for the comments about removing bullets (you will want to use list-style: none;).
For the groups, you want to specify in categories_dressing_defines.php that the category id of the first category in each group (Administrative Professionals, Care Packages, Client Appreciation) begins a new group, has a text heading with content as shown, and the second and third have dividers above them.Replace 23, 24 and 25 with the correct category ids.PHP Code:
define ('CAT_BOX_HEADING_23','1|0|||Special Occasions|1');//new list - text heading - style 1
define ('CAT_BOX_HEADING_24','1|1|||Theme Designs|1');//new list - divider and text heading - style 1
define ('CAT_BOX_HEADING_25','1|1|||Corporate Collection|1');//new list - divider and text heading - style 1
Glenn,
Thanks so much for your help with the php code for the categories_dressing_define file. Now, I can just experiment with the styling in the css file which I am more familiar with doing.
Thanks again,
Lisa
Hi Glen,
I have installed the mod and want to modify mine so it looks like this:
GIRLS
Dresses
Tops
Bottoms
Outerwear
GUYS
Tops
Bottoms
Outerwear
ACCESSORIES
jewellery
Sunnies
Bags
Shoes
Home & Lifestyle
I dont want to have any bullets or decoration just rollovers. Thank you!!!
Your process would be the same as in post 714 above, with the names changed to fit your situation.
If you don't want any dividers, make sure all of the defines start like this:
'1|0|||
Great it worked perfectly but how do i add a 'GUYS' image as a title and a "ACCESSORIES" image as a title like the GIRLS one i have???
Sorry i found it:
define ('CAT_BOX_HEADING_2','1|1|cathead2.gif|||1');//new list - divider and text heading - style 1
Thanks for the help!!!:clap:
You got the image, though there are a couple of other things to fix in your posted line.
You can add an alt tag to the title image in the next field after the filename:
,'1|1|cathead2.gif|Guys||1');
and you should not have fields after the tag field if you don't want text headings:
,'1|1|cathead2.gif|Guys');
If you want no alt tag, you can leave the tag field empty:
,'1|1|cathead2.gif|');