Foster Posted November 9, 2012 Share Posted November 9, 2012 (edited) Bonjour j'ai fait quelques recherches mais je n'ai pas trouvé de réponses à la question suivante, dans quel fichier dois je aller pour modifier la balise alt de mon logo ? Merci. Edited November 16, 2012 by Foster (see edit history) Link to comment Share on other sites More sharing options...
franckm1000 Posted November 9, 2012 Share Posted November 9, 2012 fichier header.tpl de ton thème. Link to comment Share on other sites More sharing options...
Foster Posted November 12, 2012 Author Share Posted November 12, 2012 Ok merci franck c'est bien ce que je pensais alors, par contre je ne vois aucune balise alt, que dois je modifier ? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <title>{$meta_title|escape:'htmlall':'UTF-8'} {if $smarty.get.p} - page {$smarty.get.p}{/if} {if $smarty.get.tag} - {$smarty.get.tag}{/if} {if isset($search_query)} - {$search_query|escape:html:'UTF-8'}{/if} </title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'} {if $smarty.get.tag} - {$smarty.get.tag}{/if} {if $smarty.get.p} - page {$smarty.get.p}{/if} "/> {/if} {if $smarty.get.n || $smarty.get.orderby ||$smarty.get.orderway} <link rel="canonical" href="{$canUrl}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" /> <script type="text/javascript"> var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; </script> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script src="http://connect.facebook.net/fr_FR/all.js#xfbml=1"></script> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} {if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} {if $page_name == panier && $page_name == contact} {include file='include_head.tpl'} <meta name="robots" content="noindex,follow"> {else} <meta name="robots" content="{if isset($nobots)}no{/if}index,follow"> {/if} {if $page_name == index} <link rel="canonical" href="{$base_dir}" /> {elseif $page_name == product} <link rel="canonical" href="{$base_dir}{$request_uri}" /> {else} <link rel="canonical" href="{$base_dir}{$request_uri|substr:1|regex_replace:'/\/(.*)/':''|regex_replace:'/\?(.*)/':''}" /> {/if} {$HOOK_HEADER} </head> <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> {if $page_name == "index"} <h1 class="h1_title " style="text-align: right;">Livres de poker - strategie, astuce, conseil poker</h1> {/if} <!--[if lt IE 7]><div style='clear:both;height:59px;padding:0 15px 0 15px;position:relative;z-index:10000;text-align:center;'><a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://www.theie6countdown.com/images/upgrade.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." /></a></div><![endif]--> {if isset($ad) && isset($live_edit)}{include file="$tpl_dir./live_edit.tpl"}{/if} {if !$content_only} {if isset($restricted_country_mode) && $restricted_country_mode}<div id="restricted-country"><p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p></div>{/if} <div id="wrapper1"> <div id="wrapper2"> <div id="wrapper3"> <!-- Header --> <div id="header"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$img_ps_dir}logo.png?{$time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" /> </a> <span class="logo2"><img src="{$img_dir}logo2.png?{$time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" /></span> <div id="header_right"> {$HOOK_TOP} </div> </div> <div id="columns"> <!-- Left --> <div id="left_column" class="column"><fb:like layout="button_count" font="arial"></fb:like><g:plusone></g:plusone>{$HOOK_LEFT_COLUMN}</div> <!-- Center --> <div id="center_column" class="center_column"> <div id="center_column_inner"> {/if} Link to comment Share on other sites More sharing options...
franckm1000 Posted November 12, 2012 Share Posted November 12, 2012 (edited) Et ça c'est quoi ? <img class="logo" src="{$img_ps_dir}logo.png?{$time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" /></a><span class="logo2"><img src="{$img_dir}logo2.png?{$time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" /></span> Qu'à changer entre les guillemets du alt Edited November 12, 2012 by franckm1000 (see edit history) Link to comment Share on other sites More sharing options...
Foster Posted November 12, 2012 Author Share Posted November 12, 2012 Ou là... Autant pour moi franck il faut que je change de lunettes Par contre comment dois je faire si je veux rajouter un title à logo 2 ? Merci. Link to comment Share on other sites More sharing options...
franckm1000 Posted November 12, 2012 Share Posted November 12, 2012 C'est quoi que tu appelles un title ? la balise alt ? un h1 ? Link to comment Share on other sites More sharing options...
Foster Posted November 13, 2012 Author Share Posted November 13, 2012 (edited) La balise title Edited November 13, 2012 by Foster (see edit history) Link to comment Share on other sites More sharing options...
franckm1000 Posted November 13, 2012 Share Posted November 13, 2012 Bah title="mon texte" non ??? <span class="logo2"><img src="{$img_dir}logo2.png?{$time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" title="mon texte" /></span> Link to comment Share on other sites More sharing options...
Foster Posted November 16, 2012 Author Share Posted November 16, 2012 Ok c'est bon franck, merci pour le coup de main. Link to comment Share on other sites More sharing options...
hoolay Posted November 16, 2012 Share Posted November 16, 2012 (edited) l'attribut title (et non la balise) ne s'utilise que sur le liens <a> et non les images <img /> dans votre cas il pourrait être opportun de créer un lien pointant vers la page d'accueil autour de votre logo afin de pouvoir appliquer cet attribut http://www.alsacreat...ages-liens.html Edited November 16, 2012 by hoolay (see edit history) Link to comment Share on other sites More sharing options...
Foster Posted November 18, 2012 Author Share Posted November 18, 2012 Je dois donc enlever l'attribut title ? Link to comment Share on other sites More sharing options...
hoolay Posted November 18, 2012 Share Posted November 18, 2012 ou bien présenter sous cette forme : <a href="" title=""><img src="" alt="" /></a> (je crois qu'une mauvaise utilisation des attribut peut même invalider le W3C c'est qui n'arrange rien à vos affaires) 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