Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    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
    Texas
    Posts
    6,196
    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

  3. #3
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

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


  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    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???

  5. #5
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    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
    Texas
    Posts
    6,196
    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;}

  7. #7
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    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
    Texas
    Posts
    6,196
    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...

  9. #9
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    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

  10. #10
    Join Date
    Apr 2008
    Posts
    150
    Plugin Contributions
    0

    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. v139h How to add code to category_row.php?
    By wirefram in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Aug 2012, 09:04 AM
  2. v139h Modification to category_row.php
    By strelitzia in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 May 2012, 02:51 PM
  3. v150 category_row.php - How do I give main page cateogry image a border?
    By mi16chap in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Feb 2012, 11:50 PM
  4. category_row.php modification
    By strelitzia in forum General Questions
    Replies: 0
    Last Post: 3 Dec 2011, 12:27 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