Zen Cart Logo

category icons

Locked

Views: 1,695

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 Dec 2006, 1:49 AM
#1
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

category icons

After creating a category image I get a small version of it on the categories page but it looks funny. It has an underline that runs through the text below. No matter what I try I cant make the underline go away under the image but I can make it go away under both the image and the text, but I don't like the way it looks without the underline under the text. anybody got an idea on this one.

13 Dec 2006, 3:12 AM
#2
stephantoth avatar

stephantoth

New Zenner

Join Date:
Jun 2006
Location:
Westminster
Posts:
47
Plugin Contributions:
0

Re: category icons

Hi
It seems that both the pic and the text form the link to a larger picture. The only way to overcome this is to find the main code for this aspect and move the picture code out of the link code paremiters. don't forget, you may have to do this in several files.
Kind regards
Stephan Toth http://www.london-directory.biz

13 Dec 2006, 3:31 AM
#3
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: category icons

I suppose giving the image a class would work as its inheriting from the "a" declaration.....hmmm

I tried
.categoryListBoxContents a img {text-decoration: none;}
no joy
but
.categoryListBoxContents a {text-decoration: none;}
removes the underline under both
also
.categoryListBoxContents a img{display: none;}
makes the image go away

Off to give the damn thing a class I suppose

13 Dec 2006, 7:11 AM
#4
stephantoth avatar

stephantoth

New Zenner

Join Date:
Jun 2006
Location:
Westminster
Posts:
47
Plugin Contributions:
0

Re: category icons

I am not very knowledgable on Zen Cart but I think you are looking in the wrong place. in html it would look somthing like this <a href="www.london-directory.biz"><img src="xyz.jpg">then the text here</a> this would activate both the picture and the text as the link. I think you should move the picture bit out of the link equation. Mabe in php it is different but surely the principle is the same?
Kind regards
Stephan Toth https://www.london-directory.biz/store

13 Dec 2006, 7:19 AM
#5
stephantoth avatar

stephantoth

New Zenner

Join Date:
Jun 2006
Location:
Westminster
Posts:
47
Plugin Contributions:
0

Re: category icons

Hi
I checked your site and could not see the problem you described. However, I think from a marketing perspective your more imediate problem is to resize your header picture and text as this detracts from an otherwise great site.
Perhaps you could let me know how you got the header to go right across the screen.
Kind regards
Stephan Toth https://www.london-directory.biz

13 Dec 2006, 9:37 PM
#6
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,845
Plugin Contributions:
0

Re: category icons

If you mean by resize I assume you mean optimize as the file size is 70k. As for going all the way across I just made it the width of the mainWrapper (750px) and don't display the tagline.
The issue this thread is about isn't on that site, its on a site in development.