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)
-   -   Best way to edit templates (https://forum.x-cart.com/showthread.php?t=5076)

cipi 11-04-2003 04:01 AM

Best way to edit templates
 
Hello,

I whant to modify the height of the <td> that contains the Headers of a table. For example "Categories" , "Bestsellers".

I want to change from:

Code:

<TABLE border=0 cellPadding=5 cellSpacing=0 width="100%">
<TR>
<TD class=VertMenuTitle width=26 height=26>[img]{$ImagesDir}/dingbats_categorie.gif[/img]</TD>
<TD valign=center width="80%" height=26 class=VertMenuTitle><FONT class=VertMenuTitle>{$lng.lbl_special}</FONT></TD>


to:
Code:

<TABLE border=0 cellPadding=1 cellSpacing=0 width="100%">
<TR>
<TD class=VertMenuTitle width=26>[img]{$ImagesDir}/dingbats_categorie.gif[/img]</TD>
<TD valign=center width="80%" class=VertMenuTitle><FONT class=VertMenuTitle>{$lng.lbl_special}</FONT></TD>


I changed the cellPadding of the table to 1 and I want to eliminate the "height" from the 2 "<td>"

I'm searching for a way in witch I can change all the similar tables. It is not practical to modify every template so maybe some of you found out an igeniuos way to modify all of them or at least more .tpl in the same time.

Thanks

funkydunk 11-04-2003 04:13 AM

if you change this in menu.tpl it will do all of the menu items in one go.

cipi 11-04-2003 04:25 AM

Witch menu.tpl?

I found more but none worked. Also I found a menu_profile.tpl. I changed it also but is not working for all the tables.

Please send more info.


All times are GMT -8. The time now is 02:01 PM.

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