{"id":162,"date":"2015-01-07T06:22:57","date_gmt":"2015-01-07T06:22:57","guid":{"rendered":"http:\/\/angelwings.net\/blog\/?p=162"},"modified":"2015-01-07T06:22:57","modified_gmt":"2015-01-07T06:22:57","slug":"prestashop-1-6-how-to-centralise-logo-in-new-theme","status":"publish","type":"post","link":"https:\/\/angelwings.net\/blog\/prestashop-1-6-how-to-centralise-logo-in-new-theme\/","title":{"rendered":"Prestashop 1.6: how to centralise logo in new theme"},"content":{"rendered":"<p>Source: http:\/\/www.prestashop.com\/forums\/topic\/318418-solved-center-logo-in-new-theme-16\/<br \/>\nopen header.tpl file (located in your theme dir) and remove this code:<\/p>\n<p><code>&lt;div id=\"header_logo\"&gt;&lt;a title=\"{$shop_name|escape:'html':'UTF-8'}\" href=\"{$base_dir}\"&gt;<br \/>\n&lt;img src=\"{$logo_url}\" alt=\"{$shop_name|escape:'html':'UTF-8'}\" width=\"{$logo_image_width}\" height=\"{$logo_image_height}\" \/&gt;<br \/>\n&lt;\/a&gt;&lt;\/div&gt;<\/code><\/p>\n<p>then go to \/themes\/default-bootstrap\/modules\/blocksearch\/blocksearch-top.tpl and paste code that you removed at the end of the file<\/p>\n<p>Possible issue: This edit may affect the responsive layout, leaving the logo in the middle of the screen in between Search block and Cart block.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: http:\/\/www.prestashop.com\/forums\/topic\/318418-solved-center-logo-in-new-theme-16\/ open header.tpl file (located in your theme dir) and remove this code: &lt;div id=&#8221;header_logo&#8221;&gt;&lt;a title=&#8221;{$shop_name|escape:&#8217;html&#8217;:&#8217;UTF-8&#8242;}&#8221; href=&#8221;{$base_dir}&#8221;&gt; &lt;img src=&#8221;{$logo_url}&#8221; alt=&#8221;{$shop_name|escape:&#8217;html&#8217;:&#8217;UTF-8&#8242;}&#8221; width=&#8221;{$logo_image_width}&#8221; height=&#8221;{$logo_image_height}&#8221; \/&gt; &lt;\/a&gt;&lt;\/div&gt; then go to \/themes\/default-bootstrap\/modules\/blocksearch\/blocksearch-top.tpl and paste code that you removed at the end of the file Possible issue: This edit may affect the responsive layout, leaving the logo in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[103,105],"class_list":["post-162","post","type-post","status-publish","format-standard","hentry","category-ecommerce","tag-prestashop","tag-prestashop-1-6"],"_links":{"self":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/posts\/162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/comments?post=162"}],"version-history":[{"count":0,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/posts\/162\/revisions"}],"wp:attachment":[{"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/media?parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/categories?post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/angelwings.net\/blog\/wp-json\/wp\/v2\/tags?post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}