theodoro22 Posted June 28, 2013 Share Posted June 28, 2013 Hi . I use header.tpl and footer.tpl to remove the left and right columns from the homepage . But i want to keep only left column on the other pages . Can you help me . Thanks . Link to comment Share on other sites More sharing options...
vekia Posted June 28, 2013 Share Posted June 28, 2013 hello, you use default theme? what prestashop version you use? as i understood - you want to remove right and left column from the homepage and from other pages only right column Am I right? 1 Link to comment Share on other sites More sharing options...
theodoro22 Posted June 29, 2013 Author Share Posted June 29, 2013 Hi ! Yes , i want to remove ( left and right column on the home page) and keep left column on the other page . Thanks . Link to comment Share on other sites More sharing options...
theodoro22 Posted June 29, 2013 Author Share Posted June 29, 2013 I use Prestashop 1.5.4.1 Link to comment Share on other sites More sharing options...
vekia Posted June 29, 2013 Share Posted June 29, 2013 okay, so open the footer.tpl file and remove right right column div, you will not use it anymore:) you can also comment it: (maybe in the future you will want it back) {* <div id="right_column" class="column grid_2 omega"> {$HOOK_RIGHT_COLUMN} </div> *} open the header.tpl file and use this code for the left column: {if $page_name != 'index'} <div id="left_column" class="column grid_2 alpha"> {$HOOK_LEFT_COLUMN} </div> {/if} for content (center) column use this: <div id="center_column" class="{if $page_name=='index'} grid_9{else} grid_7 omega{/if}"> here is a full step by step tutorial: one column homepage 1 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