Alexanderleo Posted August 20, 2013 Share Posted August 20, 2013 How can I remove the left column in a Prestashop 1.5 installation? Link to comment Share on other sites More sharing options...
vekia Posted August 20, 2013 Share Posted August 20, 2013 here is the full tutorial: remove left column in prestashop go to themes directory and open your theme subdir you've got there .header.tpl file - open it and search for: <div id="left_column" class="column grid_2 alpha"> {$HOOK_LEFT_COLUMN} </div> then just remove it. now it's time to change width for the center column, search for: <div id="center_column" class=" grid_5"> and change grid_5 to grid_7 Link to comment Share on other sites More sharing options...
Alexanderleo Posted August 20, 2013 Author Share Posted August 20, 2013 I cant find the grid 5. Link to comment Share on other sites More sharing options...
vekia Posted August 20, 2013 Share Posted August 20, 2013 can you show the contents of your header.tpl file? Link to comment Share on other sites More sharing options...
Alexanderleo Posted August 22, 2013 Author Share Posted August 22, 2013 can you show the contents of your header.tpl file? Hello It looks like this: <!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'}</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 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 href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" /> <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> {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} {$HOOK_HEADER} <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> </head> <body {if $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} <p id="back-top"> <a href="#top"><span></span></a> </p> <div id="wrapper1"> <div id="wrapper2"> <div id="wrapper3"> <!-- Header --> <div id="header"> <a id="header_logo" href="{$link->getPageLink('index.php')}" 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> <div id="header_right"> {$HOOK_TOP} </div> </div> <div id="columns"> {if $page_name == 'index'} <!-- Center --> <div id="center_column" class="center_column"> {/if} Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2013 Share Posted August 22, 2013 thanks fro the piece of the code i suppose that it isn't default theme? Link to comment Share on other sites More sharing options...
Alexanderleo Posted August 22, 2013 Author Share Posted August 22, 2013 Thats right. Its a free theme. Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2013 Share Posted August 22, 2013 unfortunately i don't know this theme, i don't know how it works, so you can skip step with grid_5 because this theme doesn't use the grid system Link to comment Share on other sites More sharing options...
Alexanderleo Posted August 22, 2013 Author Share Posted August 22, 2013 unfortunately i don't know this theme, i don't know how it works, so you can skip step with grid_5 because this theme doesn't use the grid system I did it on my default theme. But all the modules dont follow the new grid. They dont fill out the space? Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2013 Share Posted August 22, 2013 if it is possible - please share url then it will be much easier for me to said what's going on there Link to comment Share on other sites More sharing options...
Alexanderleo Posted August 22, 2013 Author Share Posted August 22, 2013 if it is possible - please share url then it will be much easier for me to said what's going on there After some time i got it fixed Link to comment Share on other sites More sharing options...
vekia Posted August 22, 2013 Share Posted August 22, 2013 thanks for information, glad that everything works for you as you expect im going to mark this topic as [solved] best regards Link to comment Share on other sites More sharing options...
Recommended Posts