ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - lining up products
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

lining up products

 Post Reply Post Reply
Author
Message
alltp View Drop Down
Newbie
Newbie


Joined: 17-July-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote alltp Quote  Post ReplyReply Direct Link To This Post Topic: lining up products
    Posted: 23-July-2008 at 10:08am
our products have different description lengths and in the store they are center justified vertically.  How can I set them to be "top justified" so that products line up more neatly?
 
 
Because the first product has a two line description, everything is misaligned.
 
John
 
John Hill
www.alltp.com
Back to Top
Planetlava_com View Drop Down
Newbie
Newbie
Avatar

Joined: 01-December-2005
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Planetlava_com Quote  Post ReplyReply Direct Link To This Post Posted: 28-July-2008 at 6:26pm
Around Line 816 in pc/viewcategories.asp
 
find the following...
 
' FIRST STYLE - Show products horizontally, with images
       if pcPageStyle = "h" then %>
        <td>
         <!--#include file="pcShowProductH.asp" -->
        </td>
 
Replace with...
 
' FIRST STYLE - Show products horizontally, with images
       if pcPageStyle = "h" then %>
        <td valign="top">
         <!--#include file="pcShowProductH.asp" -->
        </td>
 
Always remember to back up your files before tinkering...
 
Regards,
Tbone
 
Back to Top
Planetlava_com View Drop Down
Newbie
Newbie
Avatar

Joined: 01-December-2005
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Planetlava_com Quote  Post ReplyReply Direct Link To This Post Posted: 28-July-2008 at 6:41pm
If you want to tidy up the search results also...
 
around line 789 in pc/showsearchresults.asp
 
Look For
' FIRST STYLE - Show products horizontally, with images
      if pcPageStyle = "h" then %>
       <td>
        <!--#include file="pcShowProductH.asp" -->
       </td><% i=i + 1
 
Replace with...
' FIRST STYLE - Show products horizontally, with images
      if pcPageStyle = "h" then %>
       <td valign="top">
        <!--#include file="pcShowProductH.asp" -->
       </td><% i=i + 1
 
Remeber to backup...
 
Regards,
Tbone
 
Back to Top
alltp View Drop Down
Newbie
Newbie


Joined: 17-July-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote alltp Quote  Post ReplyReply Direct Link To This Post Posted: 29-July-2008 at 3:04am
Thanks, that worked great.  I thought it would make everything align to the top, but it aligned by the text.  What I mean is that if the picture was shorter than a standard image, it would not start at the top.  All in all a nice improvement.
John Hill
www.alltp.com
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.