Jump to content

Center column width


Recommended Posts

Depends what version of Prestashop you are using.

 

In v1.4 you can edit the product.css file and add the following

 

#left_column, #right_column{ display: none }
#center_column{ width: 100% }

 

and edit the next to lines to change the widths

 

#primary_block #pb-left-column{float:left;margin-left:1.1em;width:45%}

 

#primary_block #pb-right-column{width:45%;float:left}

Link to comment
Share on other sites

  • 1 month later...
  • 10 months later...

I mean 100% width #center_column on the first page of my website, just like the product.php page you instructed me to above in post #2

 

You can add following css to style.css

 

body#index #center_column { width: 100%; }
body#index #right_column { display: none; }
body#index #left_column { display: none; }

Link to comment
Share on other sites

  • 2 years later...

Hello, I need some help to change center column width in categoty page. On screen you can see, that I have change size of left and right column to 20% width - http://puu.sh/ehonF/08e5054f9e.png

But now I need to change center column to 60% width, and If I make some changes in center column - id or in col-md-6 - class, it changes all elementes with this class, If I add new class in header.tpl it changes center colum on the index(main) page.

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