PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

[SOLVED] Change the layout to 2-column

2 replies to this topic
#1
wzhao6898

    PrestaShop Newbie

  • Members
  • Pip
  • 4 posts
Hi there,

I'm new to Prestashop, so please forgive if this question has been answered already. I've searched the whole forum but couldn't find a straightforward answer.
What is the easiest way to change the layout from 3 column to 2-column, meaning minimum impact to the codes. I know I can remove all the block in the left or right column, but the header and footer are still displayed as 3-column layout.
Thanks in advance!

David
HoverCam Store
http://thehovercam.com

#2
rocky

    PrestaShop Superstar

  • US Moderators
  • 9988 posts
Just {* comment out *} the following code in header.tpl to remove the left column:


<!-- Left -->

{$HOOK_LEFT_COLUMN}



or comment out the following code in footer.tpl to remove the right column:


<!-- Right -->

{$HOOK_RIGHT_COLUMN}



then increase the width of the #center_column in global.css to fill up the space of the missing column.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.

#3
outlet.ee

    PrestaShop Apprentice

  • Members
  • PipPip
  • 175 posts
Thank you.

I would like to remove the right column but instead of moving the blocks to the left I'd move some of them into the footer.

I am doing this for displaying larger image and disabling thickbox. There is a thread http://www.prestasho...ewthread/54907/, I would like to do the same. First I thought it would be really easy to do but it is not, met the same setback as mentioned in the other post.

How to move blocks to the footer and disable thickbox?