marion v Posted September 4, 2016 Share Posted September 4, 2016 Hello everybody. I want to modify the alt tag of my logo, then i did it in the header.tpl, as mentionned by members in other topics. But as you can see in the pic, that doesnt change anything. Has anyone any idea ? Tks ! Link to comment Share on other sites More sharing options...
Kogkalidis Posted September 4, 2016 Share Posted September 4, 2016 Did you clear the cache? Do you have another theme? You may edited the header .tpl of the wrong theme. Or there maybe some js injection in the code of the theme. Link to comment Share on other sites More sharing options...
marion v Posted September 4, 2016 Author Share Posted September 4, 2016 (edited) Sorry i didnt precised it, i cleared the cache, it's a custom theme so dont know very well. But it still didnt work. Strange thing is that chrome inspection detect the modification. Tks. Edited September 4, 2016 by marion v (see edit history) Link to comment Share on other sites More sharing options...
Kogkalidis Posted September 4, 2016 Share Posted September 4, 2016 Did you edit the file located in /themes/[your_theme]/header.tpl? Did you enable the option shown on the image? Link to comment Share on other sites More sharing options...
marion v Posted September 4, 2016 Author Share Posted September 4, 2016 I've tried both of these options. Then cleared cache. But nothing changes... Tks Link to comment Share on other sites More sharing options...
vekia Posted September 4, 2016 Share Posted September 4, 2016 can you show what you changed in the header.tpl file exactly and how? i think that you changed only <img> but there is also <a href=""> with title="" param! Link to comment Share on other sites More sharing options...
marion v Posted September 5, 2016 Author Share Posted September 5, 2016 (edited) Hello, what i edit in thr .tpl is : <div id="header-main"> <div class="row"> <div id="header_logo"> <a href="{if $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}" title="{$shop_name|escape:'html':'UTF-8'}"> <img class="logo img-responsive" src="{$logo_url}" alt="Sacs en cuir et accessoires de créateur - {$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> </div> </div> I've only added the bold text. But still doesnt work... Seems there's no other href about logo. Tks Edited September 5, 2016 by marion v (see edit history) Link to comment Share on other sites More sharing options...
marion v Posted September 5, 2016 Author Share Posted September 5, 2016 Actually I wonder wether google bot is seeing it or not since chrome can show it. Link to comment Share on other sites More sharing options...
vekia Posted September 5, 2016 Share Posted September 5, 2016 google sees everything. chrome displays title from <a> html tag: <a href="{if $force_ssl}{$base_dir_ssl}{else}{$base_dir}{/if}" title="{$shop_name|escape:'html':'UTF-8'}"> 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