|
|||
|
Hallo,
ich möchte das Standardtemplate xtc4 etwas verändern, unter anderem würde ich gerne das ganze etwas schmaler machen. Wo kann man die breite des Templates einstellen? Danke schon mal im Voraus |
|
||||
|
Dies kann alles in der Templatedatei gemacht werden.
index.html in dem betreffenden Templateverzeichnis (zb templates/xtc4/)
__________________
xt:Commerce Helpdesk xt:Commerce Blog xt:Commerce Warenwirtschaft ### ![]() Offene Stellen bei xt:Commerce! xt:Commerce stellt ein ### |
|
|||
|
in der index.html habe ich geguckt und einige Sachen schon ausprobiert, aber da ich mich auf diesem Gebiet nicht auskenne weiß ich auch nicht an welche Stelle ich etwas ändern muss.
Ich nehme mal an das wird in % angegeben, weil nirgendwo etwas von 900px oder Ähnliches gesehen habe? An welche Stelle finde ich es denn? hier der html-text der index.html {config_load file="$language/lang_$language.conf" section="index"} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="{$tpl_path}img/top_logo.jpg" alt="{$store_name}" /></td> </tr> <tr> <td style="border-top: 1px solid; border-bottom: 1px solid; border-color: #C5C5C5;"><table width="100%" border="0" cellpadding="2" cellspacing="0"> <tr> <td class="main">{$navtrail}</td> <td align="right" class="main">{if $account}{php} if (isset($_SESSION['customer_id'])) { {/php}<a href="{$logoff}">{#link_logoff#}</a> | {php} } {/php}{/if}{if $account}<a href="{$account}">{#link_account#}</a> | {/if}<a href="{$cart}">{#link_cart#}</a> | <a href="{$checkout}">{#link_checkout#}</a></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="navLeft" valign="top"><table width="184" border="0" cellpadding="0" cellspacing="0"> <tr> <td>{$box_CATEGORIES}{$box_ADD_QUICKIE}{$box_CONTE NT}{$box_INFORMATION}{$box_LAST_VIEWED}{$box_REVIE WS}{$box_SEARCH}{$box_SPECIALS}{$box_WHATSNEW}</td> </tr> </table> </td> <td valign="top"><table width="100%" border="0" cellspacing="4" cellpadding="0"> <tr> <td><table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="main">{$main_content}</td> </tr> </table></td> </tr> </table></td> <td valign="top" class="navRight"><table width="184" border="0" cellspacing="0" cellpadding="0"> <tr> <td>{$box_CART}{$box_LOGIN}{$box_ADMIN}{$box_NEWSL ETTER}{$box_BESTSELLERS}{$box_INFOBOX} {$box_CURRENCIES} {$box_LANGUAGES}{$box_MANUFACTURERS_INFO}{$box_MAN UFACTURERS} </td> </tr> </table> </td> </tr> <tr> <td colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="border-top: 4px solid; border-top: 4px solid; border-color: #C5C5C5;"> </td> <td style="border-top: 4px solid; border-top: 4px solid; border-color: #666666;"> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> {if $BANNER} <table width="100%" border="0" cellspacing="4" cellpadding="0"> <tr> <td align="center">{$BANNER}</td> </tr> </table> {/if} |
|
|||
|
z.B.
{config_load file="$language/lang_$language.conf" section="index"} <table width="980" border="0" align="center" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="{$tpl_path}img/top_logo.jpg" alt="{$store_name}" /></td> </tr> .................
__________________
. Gruss Andreas ----------------------------------------------------------------------------------------------- Projekt : Templatescout.de | eCommerce Marketplace Net |
![]() |
| Lesezeichen |
| Stichworte |
| ändern, templatebreite |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Templatebreite verändern bzw. anpassen | ErichVienna | Template System | 3 | 01.02.2007 10:47 |