Jump to content

[SOLVED] Two columns


Recommended Posts

Modify footer.tpl in your theme's directory and {* comment out *} the following code:

<!-- Right -->

               {$HOOK_RIGHT_COLUMN}



Then find the #center_column section of css/global.css in your theme's directory and add the width of #right_column and the padding to the #center_column width.

Link to comment
Share on other sites

Sorry, misread the original post. In that case, you should write the following in footer.tpl instead:

{if $page_name != 'category'}
<!-- Right -->

               {$HOOK_RIGHT_COLUMN}

{/if}



and in global.css, copy the #center_column section to a separate section called body#category #center_column and increase the width there.

Link to comment
Share on other sites

  • 3 months later...

To hide the right column on the homepage, change lines 4-7 of footer.tpl in your theme's directory to:

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

               {$HOOK_RIGHT_COLUMN}

{/if}



and after the #center_column section on lines 206-209 of css/global.css in your theme's directory, add:

body#index #center_column
{
   width: 775px;
   margin-left: 0;
}



Adjust the width if necessary to get the center column all the way to the right edge of the page.

Link to comment
Share on other sites

  • 2 weeks later...
  • 11 months 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...