Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Oct 2006
    Posts
    209
    Plugin Contributions
    0

    Default change column layout product listing to 3 table cells

    Hi ,
    I want to change the mod for column layout.
    It's all in Divs but I want to change it to 3 td columns so that the longest one determines the overall height of the row.

    Has anybody done this?

  2. #2
    Join Date
    Sep 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: change column layout product listing to 3 table cells

    Are you using tpl_tabular_display.php or tpl_columnar_display.php?
    -----
    Steve

  3. #3
    Join Date
    Oct 2006
    Posts
    209
    Plugin Contributions
    0

    Default Re: change column layout product listing to 3 table cells

    hey Steve,
    Im using the modified product_listing.php that came with the module for columnar display. This is creating DIVs. I've it set to 3 divs per row . Well I actually took out the percentage and gave them a fixed width.

    See here

    I need to change them to table cells because the tallest in each row needs to influence the hight of the others in the row.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: change column layout product listing to 3 table cells

    It's all in Divs but I want to change it to 3 td columns so that the longest one determines the overall height of the row.
    Do you want this to be fixed height? or dynamic based on the content?

    You can assign a height to the div FYI
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Oct 2006
    Posts
    209
    Plugin Contributions
    0

    Default Re: change column layout product listing to 3 table cells

    Hi Kobra,
    its needs to be dynamic based on the content. A fixed height leaves too much white space if the content is not enough to fill it.

    have look here

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: change column layout product listing to 3 table cells

    I need to change them to table cells because the tallest in each row needs to influence the hight of the others in the row.
    Wanting this as dynamic but then based upon the tallest is going to be a tricky call

    I have not seen this done, but I am half blind

    In div's it would take a div def for the row and 100% as the height and the columns remain dynamic and hopefully expand to fill the div height or something along that line...take some hacking

    Or do you want the borders not to all be the same per row?
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Oct 2006
    Posts
    209
    Plugin Contributions
    0

    Default Re: change column layout product listing to 3 table cells

    Hi Kobra,

    I have been looking for a solution to this for a few weeks now. Looking at div hacks using background images. But you have to know the height of the tallest div. I don't think it is possible. I've converted the featured products and new products modules to use table cells, so all 3 products per row are the same height.

    Unfortunately, I'm going to have to convert the product listing to table cells also. I know somebody in here has done that for the div columns, but I can't find it now or they didn't post up the solution.

    Remind me to post the solution for converting the featured products to table cells

  8. #8
    Join Date
    Oct 2006
    Posts
    175
    Plugin Contributions
    0

    Default Re: change column layout product listing to 3 table cells

    Since we already opened this topic can I ask what I need to edit to widen the divs as right now my products are grouped too closely together with the 3 column display . Thanks!
    ~Renee
    [FONT="Comic Sans MS"]Red[/FONT]

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

    Default Re: change column layout product listing to 3 table cells

    Redcinamn,

    Please a url to the page you are asking about
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Oct 2006
    Posts
    209
    Plugin Contributions
    0

    Default Re: change column layout product listing to 3 table cells

    Hi Renee,
    i removed $col_width from

    PHP Code:
    $list_box_contents[$rows][$column] = array('params' => 'class="centerBoxContentsProducts centeredContent back"' ' '
    Well at least I think it was there!

    then I set the width of .centerBoxContentsProducts in my stylesheet to what i needed it. In my case 188px.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Product Page Listing - Column/Table layout style?
    By Ren3gade in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Mar 2011, 02:05 AM
  2. Column layout grid for product listing - one column only
    By london mummy in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 26 Oct 2009, 10:06 AM
  3. Add/Change CSS for Product Listing with Column Layout Mod
    By Berne in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Aug 2009, 08:56 AM
  4. Column Grid Layout - trouble with product listing/layout
    By mellonade in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 May 2007, 11:18 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