Gokz Posted December 17, 2020 Share Posted December 17, 2020 Hi, My website is falconfresh.com I am looking for some help to remove the side panel (left) menu from the home page. Thanks in advance Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2020 Share Posted December 17, 2020 PrestaShop version ? The theme used is the default Prestashop theme? Each theme has a different page layout. Link to comment Share on other sites More sharing options...
Gokz Posted December 17, 2020 Author Share Posted December 17, 2020 PS version - 1.7.5.1 This is not the default theme but a modified template. Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2020 Share Posted December 17, 2020 You must find ./themes/your theme/templates/layout/*. tpl according to the template. If you hide the left block with this example, you must enlarge the other blocks. It's hard to advise on any foreign look template. {if $page.page_name == 'index'}<div id="left-column" class="sidebar col-xs-12 col-lg-3" style="display:none;">{/if} Link to comment Share on other sites More sharing options...
Gokz Posted December 17, 2020 Author Share Posted December 17, 2020 Hi, i found a file called *themename*-left-column.tpl and code is given below. {extends file='layouts/layout-both-columns.tpl'} {block name='left_column'}{/block} {block name='right_column'}{/block} {block name='content_wrapper'} <div id="content-wrapper" class="right-column col-xs-12 col-sm-8 col-md-9 pull-right"> {block name='content'} <p>Hello world! This is HTML5 Boilerplate.</p> {/block} </div> <div id="dor-left-column" class="col-xs-12 col-sm-4 col-md-3 pull-left"> {capture name='displayDorLeftColumn'}{hook h='displayDorLeftColumn'}{/capture} {if $smarty.capture.displayDorLeftColumn} <div class="dorLeftColumn clearfix"> {$smarty.capture.displayDorLeftColumn nofilter} </div> {/if} </div> {if $page.page_name == 'product'} {block name='product_footer'} <div class="dor-before-product clearfix"> {hook h='displayFooterProduct' product=$product category=$category} {hook h='dorRelatedProductByBrand' product=$product category=$category} </div> {/block} {/if} {/block} Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2020 Share Posted December 17, 2020 (edited) ./layouts/layout-both-columns.tpl Edited December 17, 2020 by Guest (see edit history) 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