Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2008
    Posts
    13
    Plugin Contributions
    0

    Default Categories To List Per Row - Only getting 1 column

    Hello all,
    I've been searching the forum on the Categories To List Per Row topic and have found many but unfortunately none that solve my issue. I would like to list 2 categories per row on my main page and have this set in Categories To List Per Row, however, I'm still only getting one column.

    Here is my CSS:

    Code:
    .categoryListBoxContents {
    	width: 250px;
    	height: 400px;
            position: relative;
    	text-decoration:none;
    }
    .categoryListBoxContents a {
    	width: 220px;
    	height: 320px;
    	padding: 10px;
    	background-image:url(../images/picoutline2.gif);
    	background-repeat:no-repeat;
            position: absolute;
    	text-decoration:none;
    
    }
    I currently have 4 categories so I would like them to be in a grid centered on my main page. The background image is basically just a border that I'm using to outline the images. And I've disabled the left and right columns so the center column is the only one that is active. I've found that if I add "float: left;" to my .categoryListBoxContents it will create the grid but then of course it's not centered on my page. Any suggests would be greatly appreciated.

  2. #2
    Join Date
    May 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Categories To List Per Row - Only getting 1 column

    Hello

    I have just fixed a similar problem after several hours of searching. I am pretty new at this but I think this may work for you.

    Refer to my original post -

    http://www.zen-cart.com/forum/showthread.php?t=108992

    Nick

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Categories To List Per Row - Only getting 1 column

    stepterr,

    The CSS you are referencing is for the sidebox display and not the center column display

    Supply a link to your site
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Sep 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Categories To List Per Row - Only getting 1 column

    Here's a link to where the site is currently located site.
    I took this over for a friend and it's been interesting to say the least. I probably should've just started it over from scratch instead of editing what had already been done. They started with a template and then edited the site from that, so that could be why it's using a style sheet tag that should be in the sidebox.

    Relaxme, I tried making the changes that were in your other posts in category_row.php but unfortunately that doesn't seem to be doing the trick in this case. Is there some other place that this would need to be changed for the categories?

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Categories To List Per Row - Only getting 1 column

    I probably should've just started it over from scratch instead of editing what had already been done.
    Yes this looks a real mess right now...
    Assuming that this has used template overrides correctly try switching to the classic template to see what renders
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Sep 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Categories To List Per Row - Only getting 1 column

    Well, I switched it over to classic and it still looks a mess. Doesn't look like the template overrides were used properly, as you had guessed. So I think I'm going to go with my original thought and just start over. Thanks for taking a look though!

 

 

Similar Threads

  1. How to list 2 column per row in my products?
    By rich00693 in forum Customization from the Admin
    Replies: 5
    Last Post: 20 Oct 2009, 04:12 AM
  2. Categories To List Per Row
    By wheat in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 6 Feb 2009, 02:34 PM
  3. Categories To List Per Row
    By vitalwares in forum Basic Configuration
    Replies: 0
    Last Post: 24 Jan 2008, 08:24 PM
  4. Categories To List Per Row
    By vitalwares in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Jan 2008, 08:05 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR