Jump to content

Remove Right side


Recommended Posts

You'll need to edit footer.tpl in your theme's directory and change lines 4-8 (in PrestaShop v1.3.1) from:

<!-- Right -->

                   {$HOOK_RIGHT_COLUMN}




to:

{if $smarty.get.id_cms != 1}
<!-- Right -->

                   {$HOOK_RIGHT_COLUMN}


{/if}



Change 1 to the id of the CMS page you don't want the right column to appear on.

Link to comment
Share on other sites

I would like to do basically the same - not to show right column on product page only to have the have it wider. I restricted all the modules from appearing on product.php, but the empty right column stays there so this way I can't have any extra space on product page.

Is there any chance to make it?

Link to comment
Share on other sites

Change lines 4-8 (in PrestaShop v1.3.1) from:

<!-- Right -->

                   {$HOOK_RIGHT_COLUMN}




to:

{if $HOOK_RIGHT_COLUMN}
<!-- Right -->

                   {$HOOK_RIGHT_COLUMN}


{/if}



This should display the right column only if there is content for the right column. I'm not sure why PrestaShop didn't do that to begin with.

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