Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1

    Default How to tell category_row.php not to add image

    category_row.php appears to insert a small gif (pixel_trans.gif) when an image isn't included with a subcategory.
    How can I tell it not to?

    Since all of my site's images are bordered through the stylesheet, the tiny gif also gets a border which makes them all visible (see attached).

    How do I tell the script not to insert the pixel_trans.gif substitute when a category image is not present?
    Attached Images Attached Images  

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: How to tell category_row.php not to add image

    J,
    Please submit a actual link the the page, Dang I must be needing glasses, I can't see a thing in the .jpg
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  3. #3

    Default Re: How to tell category_row.php not to add image


  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: How to tell category_row.php not to add image

    Quote Originally Posted by Joseph M View Post
    J,
    Do you have a template you are using with your site???
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  5. #5

    Default Re: How to tell category_row.php not to add image

    Just the CUSTOM which I've made myself. I'm not using any premade template.

  6. #6
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: How to tell category_row.php not to add image

    Quote Originally Posted by Joseph M View Post
    Just the CUSTOM which I've made myself. I'm not using any premade template.
    .categoryListBoxContents img {display:none;}
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  7. #7

    Default Re: How to tell category_row.php not to add image

    You're amazing.... thank you!
    That was the perfect fix.

  8. #8
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: How to tell category_row.php not to add image

    J,
    you are most welcome, glad I could assist you...
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  9. #9
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: How to tell category_row.php not to add image

    Just a little cosmetics...

    admin panel/ configuration/ maximum values/ Categories To List Per Row
    1. default is 3
    2. change to 5 or 6
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  10. #10

    Default Re: How to tell category_row.php not to add image

    I'm already set to 5.
    But while I was digging around the category_row.php file I switched the [row] and [col] positions.

    $list_box_contents[$col][$row]
    This made the subcategories line up vertically (which I wanted). So I think instead a little centering might do the trick.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. AJAX Image Swapper - Patch to swap between standard and AIS image display
    By jaycode in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 12 Jul 2010, 11:32 AM
  2. making product detail display small image and have image handler rollover come up
    By bgingras in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Apr 2008, 11:24 PM
  3. Removing Large Image link with Swap Image on Mouse mod
    By XjamathonX in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Aug 2007, 03:13 PM
  4. custom image popup script only work for main image, not for additional images
    By gems14k in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Oct 2006, 05:19 AM

Bookmarks

Posting Permissions

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