scea Posted November 5, 2014 Share Posted November 5, 2014 Bonjour Je souhaiterai centrer le logo sur la page accueil d'une version 1.6. Avez vous une infos à me communiquer pour effectuer ceci ? Merci à tous de votre aide Link to comment Share on other sites More sharing options...
S-HAMMANI Posted November 5, 2014 Share Posted November 5, 2014 Bonjour: Peut être ce topic t'aidera: http://www.prestashop.com/forums/topic/318418-solved-center-logo-in-new-theme-16/ Link to comment Share on other sites More sharing options...
Eolia Posted November 5, 2014 Share Posted November 5, 2014 (edited) dans le header.tpl de votre thème remplacez la partie <div id="header_logo"> <a href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}"> <img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) && $logo_image_height} height="{$logo_image_height}"{/if}/> </a> </div> par <div id="my_logo"> <a href="{$base_dir}" title="{$shop_name|escape:'html':'UTF-8'}"> <img class="logo img-responsive" src="{$logo_url}" alt="{$shop_name|escape:'html':'UTF-8'}"{if isset($logo_image_width) && $logo_image_width} width="{$logo_image_width}"{/if}{if isset($logo_image_height) && $logo_image_height} height="{$logo_image_height}" style="margin: auto;">{/if}/> </a> </div> Avec ma solution le logo sera centré au-dessus des blocks search et cart Edited November 5, 2014 by Eolia (see edit history) 2 Link to comment Share on other sites More sharing options...
slykereven Posted November 5, 2014 Share Posted November 5, 2014 bah ouais, ça marche tout simplement 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