bedazzledlights Posted November 12, 2013 Share Posted November 12, 2013 How do I hide the left and right columns from appearing on my homepage? I want just the center content to show up, and I would like it to adjust to the whole page. I don't think that it is possible to do that from the back end in the positions menu is it? I'm using PS 1.5.4. Any help would be much appreciated! Thanks! Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2013 Share Posted November 12, 2013 this is probably solution that you're looking for: one column homepage Link to comment Share on other sites More sharing options...
bedazzledlights Posted November 13, 2013 Author Share Posted November 13, 2013 It's what I want to do but I don't use the default template. Link to comment Share on other sites More sharing options...
sadlyblue Posted November 13, 2013 Share Posted November 13, 2013 you can delete the div's with {$HOOK_LEFT_COLUMN} (in header.tpl in the default theme) and {$HOOK_RIGHT_COLUMN} (in footer.tpl) from the tpl in your theme folder. then, to "adjust" the page you need to edit the css, specially the width values. Link to comment Share on other sites More sharing options...
yaniv14 Posted November 13, 2013 Share Posted November 13, 2013 (edited) you can hide it with css (display: none;} and if you want to prevent it from loading in the first place, you can try placing an if statement in header & footer tpl before the {HOOK_LEFT & RIGHT.....} something like: {if $page_name != 'index'} {HOOK_......} {/if} Edited November 13, 2013 by yaniv14 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 13, 2013 Share Posted November 13, 2013 It's what I want to do but I don't use the default template. but you can use the same methods as i provided there it works the same in all themes, because all themes are based on smarty engine Link to comment Share on other sites More sharing options...
Recommended Posts