Results 1 to 10 of 21

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    Canada
    Posts
    43
    Plugin Contributions
    0

    help question Flexible product listing CSS Issue

    I am in the the process of setting up a new Zen Cart site (v1.3.8a) and am having a problem getting the product listing page to look the way I want it to.

    I have installed the "Flexible product listing" add on set to display the products in rows so I can have better control with the layout and have got it close to where I want it but am having some issues with the price and add to cart sections not centering vertically. I am pretty sure it is a CSS issue but am not sure what I need to change.

    You can see the site here http://www.gracoworld.com/index.php?...ndex&cPath=1_5

    Any help would be greatly appreciated.

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

    Default Re: Flexible product listing CSS Issue

    I would add some transparent space to the top of your image
    Yeah not css nor eloquent but will get it done
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2004
    Location
    Canada
    Posts
    43
    Plugin Contributions
    0

    Default Re: Flexible product listing CSS Issue

    Thanks for the reply Kobra I just gave that a shot but it actually just pushed everything down and the price is still sitting to high anyway. If you or anyone else has any other ideas I would be glad to here them.

  4. #4
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Flexible product listing CSS Issue

    Well, it is partly a css issue.

    Things that are a bit unusual in this bit of the layout are:

    1. We are in a table. The vertical align of the cells is at it's default which is align vertically to the center. Changing this is very possible and involves a bit of a code edit. In tpl_tabular_display.php find the line that has the <tr> tag and chang it to something like:

    Code:
    <tr valign=top <?php echo $r_params; ?>>
    Evidently that will line all the table cells to the top. At least it gives you something to work off.

    2. I was going to make another point but having looked at your source code it turns out it was wrong!

    Emulating valign:center in css is notoriously problematic. It is much easier to change the vertical alignment to top and then work with margins to put the elements where you want them to be.

    Nik

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

    Default Re: Flexible product listing CSS Issue

    This is not fully straight forward and you should start following this display starting with the tpl_modules_product_listing.php file which also references tpl_tabular_display.php.
    It appears that you have already touched this display as it is not as a default would be
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Flexible product listing CSS Issue

    OK . I will clarify in my next post. Food first!

  7. #7
    Join Date
    Feb 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Flexible product listing CSS Issue

    It actually looks like a html issue to me the price, form quantity and the amount are in the same <td class="listingPriceCell"> each should have their own then they will center themselves on their own

 

 

Similar Threads

  1. Flexible Product Listing [support]
    By gjh42 in forum All Other Contributions/Addons
    Replies: 27
    Last Post: 27 Apr 2015, 11:16 AM
  2. v139h can any one point me where is Flexible Product Listing mod
    By ramonov in forum General Questions
    Replies: 1
    Last Post: 10 Oct 2012, 05:15 PM
  3. Drop Down Menus in Flexible Product Listing
    By niccol in forum Setting Up Categories, Products, Attributes
    Replies: 33
    Last Post: 28 Oct 2010, 10:03 PM
  4. help with flexible product listing addon
    By artifaxworthing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Jun 2010, 11:25 AM
  5. Product Listing CSS
    By fantasticals in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 12 Apr 2007, 04:43 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