webgeek Posted May 28, 2015 Share Posted May 28, 2015 Hello. I have a problem that should be VERY SIMPLE to remedy. In my prestashop store, the THEME NAME shows up on the browser tab, and I want to remove this or change this. I have googled this and searched for days, but could not find anything about it. I only found how to change the name of the store, or remove the name of the store, but not the theme name. Again... I'm just wanting to either remove or change the THEME NAME that is showing up in the browser tab. Can anybody help me with this? Link to comment Share on other sites More sharing options...
razaro Posted May 28, 2015 Share Posted May 28, 2015 From title, bit strange, can you post link to store ? But check first in theme folder header.tpl if maybe theme name is hard-coded in title tag. Link to comment Share on other sites More sharing options...
vekia Posted May 30, 2015 Share Posted May 30, 2015 if your website contains theme name in the <title> it is probably a case of header.tpl file case needs verification (file verification) Link to comment Share on other sites More sharing options...
webgeek Posted May 30, 2015 Author Share Posted May 30, 2015 Well, the domain is: http://RememberCubaCigars.com When you go there, you'll see that the name of the THEME, which is "Trail Mix", is showing in the tab. I checked the header.tpl for the theme, but could find no mention of the words "Trail Mix". Link to comment Share on other sites More sharing options...
razaro Posted May 30, 2015 Share Posted May 30, 2015 Maybe it is used like some variable, check at beginning what is in title tag <title>{$meta_title|escape:'html':'UTF-8'}</title> This is from default theme. Link to comment Share on other sites More sharing options...
webgeek Posted May 31, 2015 Author Share Posted May 31, 2015 (edited) YES! That is right near the top, on line 9. Should I simply delete this code, or should I edit it in some way to the name of the shop or something? Edited May 31, 2015 by webgeek (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted May 31, 2015 Share Posted May 31, 2015 If you have exact same line that you should not delete that. I thought that line have something extra like {$theme_name} before meta_title. Next thing to check is maybe in back office, SEO&URLs and check if page titles there contain theme name. Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2015 Share Posted May 31, 2015 it will be much easier if you will just share contents here :-) Link to comment Share on other sites More sharing options...
webgeek Posted May 31, 2015 Author Share Posted May 31, 2015 Here is the content of the header.tpl file: <!DOCTYPE HTML> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 " lang="{$lang_iso}"><![endif]--> <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="{$lang_iso}"><![endif]--> <!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="{$lang_iso}"><![endif]--> <!--[if gt IE 8]> <html class="no-js ie9" lang="{$lang_iso}"><![endif]--> <html lang="{$lang_iso}"> <head> <meta charset="utf-8" /> <title>{$meta_title|escape:'html':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:'html':'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:'html':'UTF-8'}" /> {/if} <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" /> <meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" /> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link rel="stylesheet" href="{$css_uri|escape:'html':'UTF-8'}" type="text/css" media="{$media|escape:'html':'UTF-8'}" /> {/foreach} {/if} {if isset($js_defer) && !$js_defer && isset($js_files) && isset($js_def)} {$js_def} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script> {/foreach} {/if} {$HOOK_HEADER} <script type="text/javascript" src="{$js_dir}script.js"></script> {if isset($baked_vars.font)}<link rel="stylesheet" href="{$baked_vars.font}" type="text/css" media="all" />{/if} <script src="{$js_dir}jquery.appear.js"></script> <script src="{$js_dir}baked-animate.js"></script> <!--[if IE 8]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> <script type="text/javascript"> // <![CDATA[ var doc = document.documentElement; doc.setAttribute('data-useragent', navigator.userAgent); // ]]></script> </head> <body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if isset($content_only) && $content_only} content_only{/if} lang_{$lang_iso}" data-page="{$page_name|escape:'html':'UTF-8'}"> {if !isset($content_only) || !$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|escape:'html':'UTF-8'}</span></p> </div> {/if} <div id="page"> <div class="header-container"> <header id="header"> <div class="banner"> <div class="container"> <div class="row"> {hook h="displayBanner"} </div> </div> </div> <div class="nav"> <div class="container"> <div class="row"> <nav>{hook h="displayNav"}</nav> </div> </div> </div> <div> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-4 col-md-4"> {hook h="displayLeftsocial"} </div> <div id="header_logo" class="col-xs-12 col-sm-4 col-md-4"> <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> {if isset($HOOK_TOP)}{$HOOK_TOP}{/if} </div> </div> </div> <div class="container-fluid"> {hook h="displayMenu"} {if $page_name !='index' && $page_name !='pagenotfound'} {include file="$tpl_dir./breadcrumb.tpl"} {/if} </div> </header> </div> <div class="columns-container"> <div id="columns" class="container"> <div id="slider_row" class="row"> <div id="top_column" class="center_column col-xs-12 col-sm-12">{hook h="displayTopColumn"}</div> </div> {if isset($category)} {if $category->id AND $category->active} {if $scenes || $category->description || $category->id_image} <div class="content_scene_cat"> {if $scenes} <div class="content_scene"> <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {if $category->description} <div class="cat_desc rte"> {if Tools::strlen($category->description) > 350} <div id="category_description_short">{$description_short}</div> <div id="category_description_full" class="unvisible">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div>{$category->description}</div> {/if} </div> {/if} </div> {else} <!-- Category image --> <div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) right center no-repeat; background-size:cover; min-height:{$categorySize.height}px;"{/if}> </div> {/if} </div> {/if} {if $category->description} <div class="cat_desc"> {if Tools::strlen($category->description) > 350} <div id="category_description_short" class="rte">{$description_short}</div> <div id="category_description_full" class="unvisible rte">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div class="rte"> <h1 class="page-heading{if (isset($subcategories) && !$products) || (isset($subcategories) && $products) || !isset($subcategories) && $products} product-listing{/if}"><span class="cat-name">{$category->name|escape:'html':'UTF-8'}{if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'}{/if}</span>{include file="$tpl_dir./category-count.tpl"}</h1> {$category->description}</div> {/if} </div> {/if} {if isset($subcategories)} {if (isset($display_subcategories) && $display_subcategories eq 1) || !isset($display_subcategories) } <!-- Subcategories --> {/if} {/if} {elseif $category->id} <p class="alert alert-warning">{l s='This category is currently unavailable.'}</p> {/if} {/if} {if $page_name =='product'}<div class="container">{/if}{if $page_name !='product'}<div class="row">{/if} {if isset($left_column_size) && !empty($left_column_size)} <div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval}">{$HOOK_LEFT_COLUMN}</div> {/if} {if isset($left_column_size) && isset($right_column_size)}{assign var='cols' value=(12 - $left_column_size - $right_column_size)}{else}{assign var='cols' value=12}{/if} <div id="center_column" class="center_column col-xs-12 col-sm-{$cols|intval}"> {/if} <script type="text/javascript" src="https://pro.ageverify.co/jsmdy/cigars.21.js"></script> Link to comment Share on other sites More sharing options...
vekia Posted May 31, 2015 Share Posted May 31, 2015 your title line looks fine <title>{$meta_title|escape:'html':'UTF-8'}</title> you see theme name only if some browsers? or for example only in google search results? Link to comment Share on other sites More sharing options...
webgeek Posted May 31, 2015 Author Share Posted May 31, 2015 The "Trail Mix" words, which is the name of the theme, shows up in the TABS of all browsers.. firefox, chrome, etc. I do NOT want the theme name showing up in the tab. Link to comment Share on other sites More sharing options...
razaro Posted May 31, 2015 Share Posted May 31, 2015 And seams that it only shows on homepage so check index at Back office > Preferences > SEO&URLs. Link to comment Share on other sites More sharing options...
vekia Posted June 1, 2015 Share Posted June 1, 2015 + video explanation to what razaro mentioned 1 Link to comment Share on other sites More sharing options...
webgeek Posted June 1, 2015 Author Share Posted June 1, 2015 Oh, brother. This was something SO EASY! I am embarrassed that I didn't figure this out myself. Thank you, fellas, for helping me out. That resolved it. You guys are the best! Link to comment Share on other sites More sharing options...
vekia Posted June 2, 2015 Share Posted June 2, 2015 thank you for information that everything is fine now im going to mark topic as solved with regards, Milos 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