ernestus2001 Posted May 9, 2013 Share Posted May 9, 2013 Hi there, at the very top of my shop there is a white "belt": http://www.artofslides.com It's right above the text "Serwis używa cookies...". How can I remove it? I have no idea at what time did that belt appear. Also - Firebug doesn't say anything about where this white belt is coming from. Any ideas? Cheers, Pawel Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2013 Share Posted May 9, 2013 Hi there, at the very top of my shop there is a white "belt": http://www.artofslides.com It's right above the text "Serwis używa cookies...". How can I remove it? I have no idea at what time did that belt appear. Also - Firebug doesn't say anything about where this white belt is coming from. Any ideas? Cheers, Pawel Hello, you've got space right after <body> tag: you should check your header.tpl file located in your theme directory Link to comment Share on other sites More sharing options...
ernestus2001 Posted May 10, 2013 Author Share Posted May 10, 2013 thank you for your help, it works! Link to comment Share on other sites More sharing options...
vekia Posted May 10, 2013 Share Posted May 10, 2013 thank you for your help, it works! You're welcome. I marked this thread as solved. if you've got any other questions related to this thread - feel free to continue discussion here regards Link to comment Share on other sites More sharing options...
ernestus2001 Posted May 10, 2013 Author Share Posted May 10, 2013 ok, so it worked in Firebug, but I can't seem to find it in header.tpl. the beginning of file is: <!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6 no-js" lang="en"><![endif]--> <!--[if IE 7 ]><html class="ie ie7 no-js" lang="en"><![endif]--> <!--[if IE 8 ]><html class="ie ie8 no-js" lang="en"><![endif]--> <!--[if IE 9 ]><html class="ie ie9 no-js" lang="en"><![endif]--> <!--[if gt IE 9]><!--><html class="no-js" lang="{$lang_iso}"><!--<![endif]--><head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> so I cannot see where this "spacebar" is located. any idea how to find a place to delete it? Link to comment Share on other sites More sharing options...
vekia Posted May 10, 2013 Share Posted May 10, 2013 The problem isn't solved? I just thought that you solved it. So, what type of file encoding there is? UTF-8? or UTF-8 with BOM ? You should check it for header.tpl ( im not talking about <meta> tags, but about file ) Link to comment Share on other sites More sharing options...
Jacas Posted May 10, 2013 Share Posted May 10, 2013 Hi, I'm trying to help ernestus with his shop and we together couldn't fugure it out... I checked the file with 2 programs for endoding checking and they simply show utf-8 Here's the tpl file. If you could show us which lines are responsible for this it would be really great. <!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6 no-js" lang="en"><![endif]--> <!--[if IE 7 ]><html class="ie ie7 no-js" lang="en"><![endif]--> <!--[if IE 8 ]><html class="ie ie8 no-js" lang="en"><![endif]--> <!--[if IE 9 ]><html class="ie ie9 no-js" lang="en"><![endif]--> <!--[if gt IE 9]><!--><html class="no-js" lang="{$lang_iso}"><!--<![endif]--><head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>{$meta_title|escape:'htmlall':'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="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" /> <meta name="author" content="Prestashop 1.5"> <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}" /> <script type="text/javascript"> var baseDir = '{$content_dir}'; var baseUri = '{$base_uri}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; </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} <link href="{$css_dir}global.css" rel="stylesheet" type="text/css" media="all" /> <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' /> <link href='http://fonts.googleapis.com/css?family=Open+Sans:700' rel='stylesheet' type='text/css' /> {if isset($js_files)} {foreach from=$js_files item=js_uri}<script type="text/javascript" src="{$js_uri}"></script>{/foreach} {/if} <script type="text/javascript" src="{$js_dir}cookies.js"></script> <script type="text/javascript" src="{$js_dir}script.js"></script> <script type="text/javascript" src="{$js_dir}jscript_xjquery.jqtransform.js"></script> <script type="text/javascript" src="{$js_dir}modernizr-2.5.3.min.js"></script> {$HOOK_HEADER} </head> <body {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> <!--[if lt IE 8]><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://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.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 !$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" style="padding-top:5px"><center>Serwis używa cookies. Dowiedz się więcej w <a href="http://www.artofslides.com/index.php?controller=cms?id_cms=3" style="text-decoration: none"><SPAN style="color:white"><b>Polityce Cookies</b></span></a>. Możesz zmienić ustawienia dotyczące cookies w swojej przeglądarce.</center> <div id="wrapper2"> <div id="wrapper3" class="container_12 clearfix"> <header id="header" class="grid_12"> <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'}" /></a> {$HOOK_TOP} </header> <div class="columns clearfix"> <div class="column-inner"> <aside class="grid_3"> <div id="left_column" class="column">{$HOOK_LEFT_COLUMN}</div> </aside> {if $page_name == 'index'} <div id="center_column" class="center_column grid_9"> {/if} {if $page_name !== 'index'} <div id="center_column" class="center_column grid_9"> {/if} {/if} Link to comment Share on other sites More sharing options...
vekia Posted May 10, 2013 Share Posted May 10, 2013 and what about modules attached to the hooktop / hookheader ? i've got this issue when I use utf-8 with bom, maybe one of your module attached to those hooks have got this encoding. It's hard to say whats going on maybe index.php located in root dir? Link to comment Share on other sites More sharing options...
Jacas Posted May 10, 2013 Share Posted May 10, 2013 The issue was in the header.tpl file after all, but I don't have a clue what it was... I just took original one from presta, which doesn't have the issue and changed parts I needed to change and it works :-) Thanks for help! Link to comment Share on other sites More sharing options...
vekia Posted May 10, 2013 Share Posted May 10, 2013 hey thanks for informations now i can go ahead and mark this thread as solved regards 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