X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   top align product details (https://forum.x-cart.com/showthread.php?t=11224)

g0t0pless 01-01-2005 09:19 PM

top align product details
 
I have 3 extra fields in each product listing. Sometimes the details are so long that they take 2 or 3 lines.

How do I top align the the heading for each field?

Here's an example: http://www.sarversystems.com/webshop/product.php?productid=9&cat=5&page=1 Note how the "package contents" field is centered in relation to the contents of that field, makingit hard to read.

balinor 01-02-2005 05:47 AM

In modules/Extra_Fields/product.tpl, try replacing this

Code:

<TR><TD width="30%">
{$extra_fields[field].field}
</TD>


with this

Code:

<TR><TD width="30%" valign="top">
{$extra_fields[field].field}
</TD>


g0t0pless 01-02-2005 06:33 PM

Worked like a charm. Thanks.


All times are GMT -8. The time now is 09:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.