Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,641

Results 961 to 980 of 2,268
29 Sep 2009, 7:24 PM
#961
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Categories Dressing

The blue bullets you show as undesired are just the default CSS list markers (which use the color set for the list text).

2 Oct 2009, 4:45 PM
#962
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: Categories Dressing

thanks for the great mode which much better than the original zen cart mode without nesting ul.

i have a question: is this mode can set to displaying all subs and sub-subs under an active top cate, with all other top cates(of course collapsed)

example:

top1(active)
sub1
sub1.1
sub1.2
....
sub2
sub2.1
sub2.2
...
top2
top3

3 Oct 2009, 1:09 AM
#963
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

My Sidebox is starting to look good...

How can I move the text over to the left more to make it look right?

https://www.nothingbutcostumes.com
( "take10" for 10% off code )

3 Oct 2009, 1:26 AM
#964
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

Actually for some strange reason some of the boxes are funny...
If someone can take a look.

https://www.NothingButCostumes.com

3 Oct 2009, 5:30 AM
#965
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

weber - Yes, there are several variations of expanded categories available with the latest Categories Dressing, which incorporates fragfutter's Uncollapsed Categories Tree mod as an option. Full information is in the readme.

milobloom - You have two issues. First, the entire sidebox content has a 13px left padding, which you can remove in stylesheet_boxes.css```
.box .box-indent{padding:17px 2px 20px /13px/0px !important; overflow:hidden; background:url(../images/box5_bg2.gif) no-repeat right bottom;}

.catBoxHeading6 {
border-bottom: 2px solid #9966FF;
border-top: 2px solid #9966FF;
margin-left: -10px;
}

I don't see any categories boxes looking funny aside from the top heading.
3 Oct 2009, 11:37 AM
#966
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

Excelent! Thank you.

One small thing...

I tried adjusting each one... But the "Specials" one wont move to the left....

https://www.NothingButCostumes.com

3 Oct 2009, 3:31 PM
#967
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

You have the margin-left at -20px for that, instead of -10px like the rest:```
.catBoxHeading5 {
border-bottom: 2px solid #09f;
border-top: 2px solid #09f;
margin-left: -10px;
}
.catBoxHeading6 {
border-bottom: 2px solid #9966FF;
border-top: 2px solid #9966FF;
margin-left: -20px;
}

3 Oct 2009, 5:23 PM
#968
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

When I change it to -20
The Top Cat looks better.
But that box moves to the end.
Change it to -10 then the specials look good then
the top cat moves over a bit.

https://www.NothingButCostumes.com

3 Oct 2009, 5:58 PM
#969
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

You are using v2.6, which had incorrectly nested <ul> elements in some respects. It usually works fine, but here seems to be a case where the bug shows up.
You can either upgrade to v2.7.3 (keeping your existing stylesheet and defines files so you don't lose your customizations), or change the second .catBoxHeading6 to .catBoxHeading7 and style that independently.

3 Oct 2009, 6:07 PM
#970
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: Categories Dressing

gjh42: unfortunately the included ch_category_tree will simply expand all list... i checked. all i need is something will expand the subs and sub-subs under active top category

3 Oct 2009, 6:15 PM
#971
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

Categories Dressing has controls to fine-tune the expanded categories. One of the options is to expand only the active top category.

3 Oct 2009, 6:25 PM
#972
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

For the particular display you show, you would want option 3 for
define('CAT_BOX_ACTIVE_LEVEL', 'active|highest_level|deepest_level');

3=full active tree, others limited per level controls
and
The "highest_level" field controls whether top categories will display: 0=all levels/1=no topcats/etc.
The "deepest_level" field controls whether subcategories will display: 1=only first subcats/2=first & second subcats/.../9=all levels down to 9.

3 Oct 2009, 7:08 PM
#973
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

Could you expand a little on what to do here...
Even though I reply alot I am really not much of a programmer

or change the second .catBoxHeading6 to .catBoxHeading7 and style that independently.

I did not see a 2nd .catBoxHeading6 where is that?

4 Oct 2009, 5:31 AM
#974
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

For the particular display you show, you would want option 3 for
define('CAT_BOX_ACTIVE_LEVEL', 'active|highest_level|deepest_level');

3=full active tree, others limited per level controls
and
The "highest_level" field controls whether top categories will display: 0=all levels/1=no topcats/etc.
The "deepest_level" field controls whether subcategories will display: 1=only first subcats/2=first & second subcats/.../9=all levels down to 9.

i want all top cats, with all subs and sub-subs under active cat.

3,1,9 will list all subs and sub-subs, but other top cats are missing...

top1 (expanded all subs and sub-subs)
top2 (collapsed)
top3 (collapsed)

4 Oct 2009, 12:43 PM
#975
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

OK, we can do that too. Try '3|0|0'.

4 Oct 2009, 12:59 PM
#976
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

You have two categories that use .catBoxHeading6 {}. Change the second one to use .catBoxHeading7 {} so it can have separate styling - it can still have the same colors.```
define ('CAT_BOX_HEADING_3213','0|1|||TV & Movies|6')

define ('CAT_BOX_HEADING_1009','0|1|||Specialties|7')

Then add a rule to your stylesheet for
.catBoxHeading7 {}
4 Oct 2009, 3:21 PM
#977
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

Oh ok I ll give that a try

4 Oct 2009, 3:28 PM
#978
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Categories Dressing

Hi Glen,

I was trying to figure out how I managed to make the fonts on my category tree enlarge slightly when I hover over them. Looked through your stylesheet and can't seem to find what I did to make that happen.

I'd quite like to try making the font a little heavier when it's hovered over too, but can't find the place to put it.

Any pointers?

4 Oct 2009, 4:22 PM
#979
weber avatar

weber

Zen Follower

Join Date:
Nov 2005
Posts:
157
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

OK, we can do that too. Try '3|0|0'.

Magic. Perfect

6 Oct 2009, 12:58 AM
#980
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

limelites - You have so many stylesheets that it is hard to find where some things are controlled, but you have some controls that affect categories in stylesheet.css. .leftBoxContainer a:hover, .rightBoxContainer a:hover { color:#000; font-size: 13px; }This makes the links bold on hover, though there is probably a better place to set this so the !important won't be needed.```
.leftBoxContainer a:hover, .rightBoxContainer a:hover {
color:#000;
font-size: 13px;
font-weight: bold !important;
}