Thread: category icons

Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    css problem 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.
    Attached Images Attached Images  
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  2. #2
    Join Date
    Jun 2006
    Location
    Westminster
    Posts
    47
    Plugin Contributions
    0

    Default 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

  3. #3
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default 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
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  4. #4
    Join Date
    Jun 2006
    Location
    Westminster
    Posts
    47
    Plugin Contributions
    0

    Default 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 www.london-directory.biz/store

  5. #5
    Join Date
    Jun 2006
    Location
    Westminster
    Posts
    47
    Plugin Contributions
    0

    Default 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 www.london-directory.biz

  6. #6
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default 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.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 

Similar Threads

  1. 2 extra category icons, only in IE
    By ThisNamellDo in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Sep 2010, 04:11 PM
  2. top category icons on sub category
    By zvenson in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Aug 2009, 02:36 AM
  3. Category Icons on Product Listing page
    By CharInLasVegas in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Jan 2009, 04:21 PM
  4. Help with category icons!
    By Eizual in forum Basic Configuration
    Replies: 8
    Last Post: 25 May 2007, 07:50 PM
  5. category icons?
    By darkswan in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 9 Jan 2007, 08:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg