Jump to content

Remove the 2 columns on the homepage and only keep the left one , on the other pages.


Recommended Posts

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

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...