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
Printable View
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
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:This will only work exactly for first-level subcats, since each level has another round of subcategory indent added according to what is set in admin.Code: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.
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???
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.
Ok.
That not really a problem.
Thanks for the help. I think it looks great now..
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
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?
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
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
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.