Zen Follower
- Join Date:
- Oct 2006
- Location:
- At Home
- Posts:
- 357
- Plugin Contributions:
- 0
Categories Dressing
How to remove the default 'Link Heading' from the categories sidebox?
Views: 531,470
Zen Follower
How to remove the default 'Link Heading' from the categories sidebox?
Black Belt
The readme describes this. If you have the latest version, it is an html file for easier reading.
Just add a comment mark // in front of the line mentioned, in tpl_categories.php.
New Zenner
Hi Glenn,
First of all thanks for the files and specially for the help you offer here in the forum.
I have tried other categories addons and this is the one that works best for me, but I'm trying to make it show the first level subcategories constantly.
The problem is that so far I have only TWO big categories and the important thing is the subcats (but I only want to show those first level subcats and not the deeper level ones). Is there a way to do this with Categories Dressing??
Thanks in advance!
Black Belt
Categories Dressing does not deal with which categories are displayed. It is easy to add code to it to hide specific categories or subcat levels, but it is not able to show cats that would not normally appear.
For that, you need one of the expanded categories mods, like fragfutter's Uncollapsed Categories Tree (hosted on his site; link in the forum thread for it.)
This or any expanded cats mod will probably not work with Cat Dressing, because both need to modify the same file. It may be possible to merge the custom elements - I haven't tried this.
New Zenner
thanks for the reply.
I tried fragfutter's Uncollapsed Categories Tree but it's not that good because uses the whole category tree instead of just the first level subcategories.
And I'm not familiar enough with the code to try to merge both right now.
I'll try to find another solution, but thanks anyway, man :)
cheers
Black Belt
Once you have the whole category tree, restricting it to a particular level of subcats is easy. I have posted about it more than once. And if the subcat restriction is the only custom function you need, you don't need to merge with Cat Dressing.
New Zenner
I want to increase the font size of all my headings only - Categorys, New Products, Information etc but cant seem to find in the sylesheet where to do this ?
http://www.crazyballs.com.au
Can someone help me please ? Thanks!
Black Belt
Those headings are not related to Categories Dressing, but you can set left & right BoxHeadings in your stylesheet. Find```
h3.leftBoxHeading, h3.leftBoxHeading a,
h3.rightBoxHeading, h3.rightBoxHeading a {
font-size: 1em;
color: #ffffff;
}
and replace with```
h3.leftBoxHeading,
h3.rightBoxHeading, h3.rightBoxHeading label {
font-size: 1.2em;}
}
h3.leftBoxHeading, h3.leftBoxHeading a,
h3.rightBoxHeading, h3.rightBoxHeading a {
color: #ffffff;
}
Zen Follower
So here is a behavoir that I'm confused about.
When I replace a category with an image/hover image if I roll off the button before the target page has loaded, IE essentially cancels the click. Anyone ever seen this?
Is this an IE problem or a Cat dressing issue?
Black Belt
I haven't seen it, but I don't use IE any more than necessary. My guess would be that it is a function of how IE handles CSS. It is only a Cat Dressing issue insofar as Cat Dressing uses a CSS hover.
New Zenner
I just installed this yesterday and have been doing ok with using images instead of text for the categories, but have run into an issue with hover-images. in this case i took out the img for my gift certificate category and made it a bg image with a bg hover, and the hover works but the regular bg dissapears. the hover also changes the size of the cat box, see here:
https://www.beggarsbones.com/store
i've been following the readme as best i understand, any idea where i went wrong? thanks!
R
Zen Follower
You must still be working on it, because I don't see GC as an image at all.
...and GARLIC dog breath? eew! :) Post back when it's up and we can look.
New Zenner
its up there, i was fussing with it. mouse under 'clothes' and the hover image for gc will come up, but the regular image won't.
hey, my dogs have eaten much, MUCH worse than garlic. we can go there later.... :)
Zen Follower
SO you've checked that
Post that section of the cSS here.
New Zenner
this is what i have in my stylesheet... if theres a different css you wanted lemme know.
#categories a {
background-repeat: no-repeat;
display: block;
}
a.catBg14 {
background-image: url(../images/catbg14.gif);
height: 30px;
}
a.catBg14:hover {
background-image: url(../images/catbg14hover.gif);
height: 30px
}
for sure the image names are correct and theyre in the right folder, as the non hover image work.
i've read over the readme (not saying i didnt miss anything) - is there anything else i need to do other than add that passage to my stylesheet and put the gifs i n the right folder to get hovers to work?
Zen Follower
One of them has a semi-colon after 30px, the other doesn't.
Zen Follower
That's the only thing I can see. The other thing I noticed was that if you used the next category as a seperator, sometimes the category above it started acting weird.
Do me a favor and try two things:
Best of luck!
Chris
Black Belt
The semicolon in that particular location is a good idea for consistency, but is not required. Actually, the hover declaration doesn't need a height at all, unless it is different from the non-hover image height.
The Gift Certificates images are both 38px high; since you have specified 30px height in your stylesheet, they are naturally getting cut off. Background images do not take up any space by themselves - the space will be whatever you specify it to be.
And both of the GC images are where they are supposed to be in your template images folder. I don't know why you wouldn't be seeing the non-hover one.
Zen Follower
Hi Glenn
I saw this mod in action on a few sites and I now am trying to make it work for my site. It is a great mod but I'm a real noob with this kind of things, so if you can please help me out?
I just want to know how I can make an image based menu. So that every category doesn't show text in the menu, just the images I've made for the menu.
Too keep it simple; say my categories would be
-apples
-pears
I want to show an image of an apple for the category apples and the image of a pear for the category pears.
The kind of info I need is:
The size of the image
Where the image goes
What the image should be named like
If I need to edit a php/css file and where that file is located and what to edit.
I'm constructing this offline so I can't provide a link.
Thanks in advance for your help!
Juliet
New Zenner
Attn:: gjh42
I am using categories dressing, works great no issues.
2 Questions, I have 7 non linked Headings column left,
I would like to change to linked Headings.
these will be text links.
This is the first Heading in column left.
This is the style sheet css call that is for the Cat. Headings
.catBoxHeading1{
font-family: arial,verdana,helvetica, sans-serif;
font-weight: bold;
font-size: 1em;
color: #00DD00;
margin-top: 2px;
margin-bottom: 2px;
padding-top:2px;
padding-bottom:2px;
margin-left:-6px;
}
-Question 1
Does thie convert it to a link css
.catBoxHeading1:link {
font-family: arial,verdana,helvetica, sans-serif;
font-weight: bold;
font-size: 1em;
color: #00DD00;
margin-top: 2px;
margin-bottom: 2px;
padding-top:2px;
padding-bottom:2px;
margin-left:-6px;
}
.catBoxHeading1:visited {add style);
.catBoxHeading1:hover {add style);
.catBoxHeading1:active {add style);
---Question 2
This question is is how to connect the URL,
to the Heading links. I would use the
first Category to Product link url below each heading,
as seen in Catalog/[Categories/Products]
Thank you.
Fields marked required must be completed.
Tell staff why this post should be reviewed.