Jump to content

[SOLVED] Single Column Home Page Only


Recommended Posts

Hi Guys,
Im trying to achieve a single column on my home page only, but 2 columns for the rest of the site. I have changed my header and footer.tpl to achieve this. But now i need to set my center column width to 980px for only the home page. I tried adding this line to my header.tpl, but it did not work, my whole page went blank. I know im making a mistake, please help:

           <!-- Left -->
   {if $page_name != 'index'}

                   {$HOOK_LEFT_COLUMN}

   {/if} 

               <!-- Center -->
   {if ($page_name=='index')}

               {else} 
   {/if}
Link to comment
Share on other sites

  • 5 months later...
  • 3 months later...
  • 6 months later...
  • 3 weeks later...
  • 5 months later...
  • 1 year later...

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...