Jump to content

Single Column Layout with 100% width header and footer


Recommended Posts

I'm about to start implementing my own custom PrestaShop theme that has the layout of the attached image. The black bar along the top and bottom span the width of the whole browser (this is an aesthetic treatment) similar to something like 8tracks.com has.

My question to those more experienced, is that at the top of my layout, I have a thin black bar that has the cart and account information, that sort of acts as a second header.

Would you, as developers, create another HOOK to put stuff in there (e.g. have a HEADER1, HEADER2)? Or would you just cram everything into the existing HEADER HOOK?

Thanks

37214_R1m4MuyXULH2TO9Tqm2d_t

Link to comment
Share on other sites

Wow, ok this was actually pretty straight forward to implement. I ended up creating a new hook for the little top bit which gave me everything I needed (and it's a lot easier than I thought to create a new hook!). Then I put the newly created hook and the footer hook outside of the main #page div, which allowed me to give them widths of 100% that would span the screen.

Link to comment
Share on other sites

  • 1 month later...

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