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
    Posts
    26,503
    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
    Get Your Business Found

  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
    Posts
    26,503
    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
    Get Your Business Found

  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. Replies: 3
    Last Post: 11 Sep 2008, 09:17 PM
  2. Replies: 2
    Last Post: 30 Jul 2008, 08:35 AM
  3. 2 column of product list
    By cadarilondon in forum Basic Configuration
    Replies: 1
    Last Post: 3 Aug 2007, 11:58 AM
  4. list/column break, name value
    By clane777 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Nov 2006, 04:34 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
  •