Reco-X Posted October 7, 2014 Share Posted October 7, 2014 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. Link to comment Share on other sites More sharing options...
Dh42 Posted October 7, 2014 Share Posted October 7, 2014 What module are you using, or do you have a link to the site, I do not recognize that module. Link to comment Share on other sites More sharing options...
Reco-X Posted October 7, 2014 Author Share Posted October 7, 2014 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 More sharing options...
razaro Posted October 7, 2014 Share Posted October 7, 2014 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 More sharing options...
Reco-X Posted October 8, 2014 Author Share Posted October 8, 2014 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 More sharing options...
Recommended Posts