Jump to content

Float overflow / clearfix problems


Recommended Posts

All three modules (ellisinfoblock [a custom module based on blockuserinfo], blocksearch[_top], and blockcart) in my header are floated left. I can't "overflow:hidden" the header element because that hides blockcart's rollout. So, I've applied the "clearfix hack" to each module.

 

With ellisinfoblock this is working at all browser widths, but with blocksearch and blockcart it doesn't work between 768px and 992px browser widths (ie on tablets). (Yes, I've enabled each module separately to confirm this diagnosis). I can't figure out why. Help!

 

Test shop: http://www.elliscamera.com/prestashop/

Edited by jleesaxon (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

Sorry, I think my language was unclear. I edited the post. It works unless your browser is 768px to 992px wide. At those widths, the header background only surrounds ellisinfoblock and not the other two modules.

 

PS - In your screenshot the positioning of the text "Log In" and "0 PRODUCTS" is totally different than what I see in Chrome. What browser are you using?

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