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)
-   -   How do I CSS Extra Fields? (https://forum.x-cart.com/showthread.php?t=18069)

sharingsunshine 11-18-2005 01:58 PM

How do I CSS Extra Fields?
 
I read an earlier post that to change the CSS on extra fields to modify this file (skin1/modules/Extra_Fields/product.tpl:

{* $Id: product.tpl,v 1.7 2004/05/28 12:21:07 max Exp $ *}
{section name=field loop=$extra_fields}
{if $extra_fields[field].active eq "Y" && $extra_fields[field].field_value}
<TR><TD width="30%">
{$extra_fields[field].field}
</TD>
<TD>
{$extra_fields[field].field_value}
</TD>
</TR>
{/if}
{/section}


I have more than one extra field is it possible to CSS differently each field. I have one field that is a title and another that is basic text. I don't want to assign both of the fields a 14 px. class size.

If so, where would I find the third field #2 to CSS in the above file?

Thanks,

Randal

sharingsunshine 11-21-2005 11:25 AM

Hello,

Doesn't anybody have an answer to this question? I thought you could CSS most anything.

Any help will be appreciated.

Randal

volume 12-04-2005 04:41 PM

Use the {if} statement to seperate your title field from your text field and drop the css style into the relevant <td> tag.

volume


All times are GMT -8. The time now is 05:58 AM.

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