Jump to content

[ RESOLVED ] how to remove left-column of the homepage?


Recommended Posts

Hello
my slider is displayed on Center-colum, so he is a space left blank (left-column)
, Incidentally. is my template has two columns -
MY QUESTION:
How to make my slideshow occupies the entire width of my page (chad space "left-column space +" center column ").
is what I have to create a div? Hook?

best regards


ANSWER : http://www.t-prod.net/blog/e-commerce-site-marchand/prestashop-page-daccueil-1-colonne-et-reste-en-3-colonnes

20280_2dI6Fj5gxHDXKbC0TKj8_t

20281_ntw4n2dBohpgAb8Lyw1T_t

Link to comment
Share on other sites

Hello
my slider is displayed on Center-colum, so he is a space left blank (left-column)
, Incidentally. is my template has two columns -
MY QUESTION:
How to make my slideshow occupies the entire width of my page (chad space "left-column space +" center column ").
is what I have to create a div? Hook?

best regards


yes, and in the global.css file of your theme, change the width of the center column
Link to comment
Share on other sites

  • 2 years later...

if you want set center_column width to max, you could use:

		   	
<!-- Left -->
{if $page_name != 'index'}
 <div id="left_column" class="column grid_2 alpha">
{$HOOK_LEFT_COLUMN}
 </div>
{/if}

<!-- Center -->
{if $page_name != 'index'}				
 <div id="center_column" class=" grid_5">
{else}				
 <div id="center_column" class=" grid_9" align="center">				
{/if}

<!-- Right -->
{if $page_name != 'index'}
 <div id="right_column" class="column grid_2 omega">
 {$HOOK_RIGHT_COLUMN}
 </div>
{/if}

 

looking in grid_prestashop.css can see:

.container_9 .grid_5 {width:535px;}
.container_9 .grid_9 {width:979px;}

 

so on home page center column have 979px width, centered, on other pages have normal width

Link to comment
Share on other sites

×
×
  • Create New...