alezimm Posted January 11, 2009 Report Share Posted January 11, 2009 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 Link to comment Share on other sites More sharing options...
mzanier Posted January 11, 2009 Report Share Posted January 11, 2009 Dies kann alles in der Templatedatei gemacht werden. index.html in dem betreffenden Templateverzeichnis (zb templates/xtc4/) Link to comment Share on other sites More sharing options...
alezimm Posted January 11, 2009 Author Report Share Posted January 11, 2009 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_CONTENT}{$box_INFORMATION}{$box_LAST_VIEWED}{$box_REVIEWS}{$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_NEWSLETTER}{$box_BESTSELLERS}{$box_INFOBOX} {$box_CURRENCIES} {$box_LANGUAGES}{$box_MANUFACTURERS_INFO}{$box_MANUFACTURERS} </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} Link to comment Share on other sites More sharing options...
pages24 Posted January 11, 2009 Report Share Posted January 11, 2009 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> ................. Link to comment Share on other sites More sharing options...
alezimm Posted January 11, 2009 Author Report Share Posted January 11, 2009 suuuper, hat funktioniert, vielen Dank Link to comment Share on other sites More sharing options...
Trollhans Posted October 22, 2009 Report Share Posted October 22, 2009 Hallo Andreas, hast Du auch eine Antwort für die Höhe des Templates?? Danke Dir herzlich Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.