Is there any way to have buttons for the category links instead of just text?
I want to insert a button image where the text link is.
Thanks
Scribbles
![]()
Is there any way to have buttons for the category links instead of just text?
I want to insert a button image where the text link is.
Thanks
Scribbles
![]()
Fairly easy if this is a button image without text - it is then a background image applied in the css.
More difficult if this button image is unique to a category name as then applying these has to be done for each different one and this breaks some of the versatility of the cart as you have to re-edit this for every new category added or deleted
Zen-Venom Get Bitten
how would you do it?
I think that you are referring to the actual categories names and as these are 'a'
entries you would have to address these as individual & I think without checking that this will address them directly and replace the 'a' listing for them in the css
And you might do this for:Code:a.category-top { color: #??????; width: 100%; margin: 0px 5px 0px 0px; background-color: #??????; background-image: url(../images/your_image.gif); text-decoration: none; }
a.category-top:hover, a.category-subs, a.category-subs:hover etc. and these could provide rollover images. I can't recall if this requires the better categories mod or not right off.
This gets you an Image with the normal text and stays dynamic and for all additions/changes to your listings
Zen-Venom Get Bitten
Or if you don't particularly care about categories being dynamic, and just want the image instead of text, you can use the Blank_Box (sidebox) contrib like I did. It's in the download section. Excellent "read me" instructions. Even I could do it! LOL.
Since I maintain my own site and can add or subtract cats as desired, I opted for the easy way.
I love Zen Cart, but really wanted to move as far as possible from the Zen site look and be a little different. I still have work to do on the sidebox headings......I will be making them into a graphic too.
Now that some time has passed since this thread began, is there anything new whether it be a contribution or an easier process than I've been finding for suggestions in the forums that can facilitate rollover effects on images in the category box??
whew long sentence!![]()