Le-cathare Posted March 8, 2013 Share Posted March 8, 2013 (edited) Bonjour Je cherche à mettre mon header sur toute la longueur de la page comme ce site http://www.webdistri...m/cat/home.php. Comment faire ? Merci d'avance Edited March 8, 2013 by Le-cathare (see edit history) Link to comment Share on other sites More sharing options...
jeckyl Posted March 8, 2013 Share Posted March 8, 2013 Bonjour, pour cela il faut sortir le header de la DIV page Link to comment Share on other sites More sharing options...
Le-cathare Posted March 8, 2013 Author Share Posted March 8, 2013 Ok, et comment on fait ? Link to comment Share on other sites More sharing options...
jeckyl Posted March 8, 2013 Share Posted March 8, 2013 Vous modifiez le header.tpl de votre template et vous adaptez vos CSS. Link to comment Share on other sites More sharing options...
Le-cathare Posted March 8, 2013 Author Share Posted March 8, 2013 Le css je sais faire, par contre le tpl non. je pense avoir trouver les lignes sur le header tpl, mais je sais pas quoi faire. <!-- Header --> <div id="header" class="grid_9 alpha omega"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> <div id="header_right" class="grid_6 omega"> {$HOOK_TOP} </div> </div> Link to comment Share on other sites More sharing options...
Le-cathare Posted April 20, 2013 Author Share Posted April 20, 2013 petit up Link to comment Share on other sites More sharing options...
2FR3 Posted April 20, 2013 Share Posted April 20, 2013 <!-- Header --> <div id="header" class="grid_9 alpha omega"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> </div> <div id="header_right" class="grid_6 omega"> {$HOOK_TOP} </div> Si tu connais le CSS, je te precise pas de modifier le header_right Link to comment Share on other sites More sharing options...
Le-cathare Posted April 20, 2013 Author Share Posted April 20, 2013 Ok merci pour cette info, mais sur le .tpl je modifie quoi ? une idée, une piste ? Link to comment Share on other sites More sharing options...
2FR3 Posted April 20, 2013 Share Posted April 20, 2013 ben je viens de te le mettre le code ou j'ai déplacé la balise de fin </div> Link to comment Share on other sites More sharing options...
Le-cathare Posted April 20, 2013 Author Share Posted April 20, 2013 (edited) Ah oui, excuse moi j'ai pas vu. comme j'ai pas trop vu de différence avec mon code. je vais tester. mais avant je vais faire une sauvegarde Edited April 20, 2013 by Le-cathare (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now