Jump to content

Container-Fluid on Index only


Recommended Posts

Hi,

 

I am trying to make my PrestaShop home page full-with so have changed <div id="columns" class="container"> in the header.tpl file to <div id="columns" class="container-fluid"> which works great but effects every other page too which is not what I am after.

 

Is there some kind of code I can wrap around this line in particular to say if the page is Index or Home then use the container-fluid class but for all other pages use container?

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