Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,455

Results 161 to 180 of 2,268
23 Feb 2008, 13:21
#161
milobloom avatar

milobloom

Totally Zenned

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

Categories Dressing

Thanks that does help.
But what I was after was moving the 2nd line over a bit. Perhaps lining up
with the first line. Making a 2 line Category name

Otherwise. I am working on shorting out my titles

23 Feb 2008, 17:01
#162
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

I found a subcat where the problem is showing, so now I can advise correctly for what you want.

The line spacing will be even more important with the text all evenly aligned. Change your stylesheet to this:```
a.category-subs-text, a.category-products-text {
/background-color: #ff69ff;/
color: #6699aa;
line-height: 1.0em;
margin: 0.5em 0 0.5em 1.5em;
text-indent: -1.5em;
/padding: 0.2em 0.3em;/
}


You could also (in Configuration > Layout Settings) set the subcat indent to nothing and eliminate the text-indent: -1.5em; in the stylesheet. That would, however, provide no distinction at all between first- and second-level subcats.

I also notice that you have put the recent revision in your main stylesheet and left the previous version in stylesheet_categories_dressing.css. This is a bad idea - you should keep declarations that apply to the same area in one place. It doesn't really matter which in this case, but consolidate them to avoid future grief.
23 Feb 2008, 20:00
#163
milobloom avatar

milobloom

Totally Zenned

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

Re: Categories Dressing

Thanks so much Glenn!!!
Perfect! Exactly what I was looking for!

I followed your instructions and took it out of my stylesheet

Anyway... Last thing is...
Can the sub cats close back up when I hit the main category???

23 Feb 2008, 23:42
#164
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

The "open subcats" is a one-way function. When you select a top cat, its subs will open, and making them close when reselecting their top would require a bunch of custom coding.

24 Feb 2008, 00:05
#165
milobloom avatar

milobloom

Totally Zenned

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

Re: Categories Dressing

Ok.

That not really a problem.
Thanks for the help. I think it looks great now..

25 Feb 2008, 03:04
#166
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Categories Dressing

Are there any problems with cat dressing and SEO URLs? Im slowly figuring out how to control this mod. I can assign images to top cats but when expanded to show sub cats all top images go away. Even the Heading 1 sample goes away.

Any Ideas here?

Thanks,
John

25 Feb 2008, 03:13
#167
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

I know very little about how SEO URLs does its work, so couldn't tell you why they might not be compatible.

One possibility is that the way Cat Dressing checks for the existence of image files is somehow counter to the way SEO URLs makes things work...

You say top cat images go away. Does the standard text reappear, or is there a blank space, or does the space disappear?

25 Feb 2008, 03:23
#168
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Categories Dressing

Once a top cat is clicked its like to dressing style goes away. All the cat names are still there and nothing looks out of place. Just seems cat dressing goes away.
I PMd you a link to my test site.

Thanks,
John

25 Feb 2008, 03:42
#169
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Categories Dressing

I turned off SEO URLs and like magic - cat dressing works!
Had to turn the urls back on. Kind of a real bummer. I really had my mind set on using this and Im nowhere near being able to patch php yet.

Thanks for the help,
John

25 Feb 2008, 04:51
#170
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

The SEO URLs seems to be off for your test site now - can you turn it on? I've gotten a look at how your categories box acts without it.

25 Feb 2008, 04:56
#171
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Categories Dressing

Glen,
URLs are back on!

Thanks!

25 Feb 2008, 05:28
#172
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Wow. I see what you mean about it disabling Cat Dressing. It eliminates all styling or function of any kind associated with that, whether dependent on file checking or not. It acts as if Cat Dressing is uninstalled, not overridden - there is no trace of the class modifications Cat Dressing makes in the categories box output.

It also eliminates the reference to stylesheet_categories_dressing.css - that file is no longer being loaded, and that is an automatic function which is not dependent on a custom file calling it. This is weird...

25 Feb 2008, 05:32
#173
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Categories Dressing

Yes it does. I didn't notice that. I have no idea whats going on here.
Do you?

John

25 Feb 2008, 05:36
#174
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

The closest comparison I can make is that SEO URLs switches the site to a different template, one that doesn't have Cat Dressing installed in it.

Which one did you install first? Could SEO URLs set or require something about file access that is missing when Cat Dressing is installed later?

25 Feb 2008, 05:42
#175
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Categories Dressing

Glenn,
Installed URLs first. All it is really is just a few files. Not sure how it works but its not a sql. does some work with .htaccess too.

John

25 Feb 2008, 05:54
#176
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Hmm. And the Cat Dressing files are still there in your /12volt/ template folders?
Where do the SEO URLs files install?

I wonder what would happen if Cat Dressing were installed first. I also wonder what will happen to any other mod you might install (do you have any others?)

25 Feb 2008, 06:25
#177
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Categories Dressing

Admin
Dont think it matters

Includes
auto loaders

          classes

           extra_datafiles

            functions

I tried adding dressing .css to my own and that didn't work either.

John

25 Feb 2008, 08:32
#178
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Categories Dressing

Glenn,
I just saw your traffic in the test store. Thanks for your time.

25 Feb 2008, 08:49
#179
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Did you say you added the Cat Dressing css to your main stylesheet? Is it still there? I didn't see it when I looked.

25 Feb 2008, 08:50
#180
bumba000 avatar

bumba000

Totally Zenned

Join Date:
Feb 2007
Location:
Pennsylvania
Posts:
856
Plugin Contributions:
0

Re: Categories Dressing

No, I took it out. Returned both to original.