Jump to content

[BUG] Footer Front-End - Look and Feel


Recommended Posts

Well i found a bug with the new footer of prestashop 1.6.

When i costomize it i noticed errors. I have some screenshots for you

 

I think the problem is with the 5th element, because is the different in the code (first i prove to put all the images with the same width but the white hole appears).

 

 

And worst, the bug changes deppending the browser.

post-452968-0-88020900-1412695242_thumb.jpg

post-452968-0-01833600-1412695256_thumb.jpg

post-452968-0-51703300-1412695267_thumb.jpg

Link to comment
Share on other sites

What module are you using, or do you have a link to the site, I do not recognize that module. 

The site is in localhost, the module is the Theme Configurator, it is installed by default in prestashop 1.6 I only change the images (the fashion images lol)

Link to comment
Share on other sites

Hi think it is not a bug, that module is made to have  banners at home and as example fifth element is styled

like that and image of those dimension is used.

In modules/themeconfigurator/css/hooks.css you will see code.

#htmlcontent_home ul li.htmlcontent-item-5 {
width: 66.6667%;
}

So if you add later another image of same dimension, it will be in container of 33.3333% width and image will fill 100% width of container but not height. So you will have to add similar css code for that image just change id in -item-5.

Link to comment
Share on other sites

Hi think it is not a bug, that module is made to have  banners at home and as example fifth element is styled

like that and image of those dimension is used.

In modules/themeconfigurator/css/hooks.css you will see code.

#htmlcontent_home ul li.htmlcontent-item-5 {
width: 66.6667%;
}

So if you add later another image of same dimension, it will be in container of 33.3333% width and image will fill 100% width of container but not height. So you will have to add similar css code for that image just change id in -item-5.

Ok i got it, but the code is SO COUPLED with the image size, maybe a refactor of this can be usefull

Link to comment
Share on other sites

×
×
  • Create New...