Penge58 Posted September 18, 2013 Share Posted September 18, 2013 (edited) Hello Please look at http://www.eldatech.no/shop/ You will see on the front page that there is a line with 3 products. The next line has 2 and then there is a third product below too. I have configured the module "Special product on front page" to hold 6 products. Why does it not put the last one on the second line instead of under the line ? Anyone know what cause this ? Is this caused by the Theme I am using ? The Theme is created by PrestaShop Theme maker. I am using PR 1.5.5.0 Petter Edited September 18, 2013 by Penge58 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 18, 2013 Share Posted September 18, 2013 it's because you've got different height for each <li> object (especially when they have different descriptions height) here is the solution: ad height: 340px; param to: .products_block.grid li { padding: 10px 1%; width: 31.2%; float: left; list-style-type: none; height: 340px; } Link to comment Share on other sites More sharing options...
Penge58 Posted September 18, 2013 Author Share Posted September 18, 2013 it's because you've got different height for each <li> object (especially when they have different descriptions height) here is the solution: ad height: 340px; param to: .products_block.grid li { padding: 10px 1%; width: 31.2%; float: left; list-style-type: none; height: 340px; } Oh tanks again Vekia. I am impressed by your very quick answeres and your knowledge. I will try this and let you know. 1 Link to comment Share on other sites More sharing options...
Penge58 Posted September 18, 2013 Author Share Posted September 18, 2013 it's because you've got different height for each <li> object (especially when they have different descriptions height) here is the solution: ad height: 340px; param to: .products_block.grid li { padding: 10px 1%; width: 31.2%; float: left; list-style-type: none; height: 340px; } What file do you want me to edit ? Link to comment Share on other sites More sharing options...
vekia Posted September 18, 2013 Share Posted September 18, 2013 global.css line 2772 http://eldatech.no/shop/themes/Nibuo/css/global.css Link to comment Share on other sites More sharing options...
Penge58 Posted September 18, 2013 Author Share Posted September 18, 2013 global.css line 2772 http://eldatech.no/shop/themes/Nibuo/css/global.css Thank you. It seems to work fine. I guess there is a limit for maximum hight on images here ? And what is the difference in editing the global.css and the prameters I find under Preferences->Images ?? Petter Link to comment Share on other sites More sharing options...
vekia Posted September 18, 2013 Share Posted September 18, 2013 with css styles that i pasted we don't change the "image" but height of the <li> object preferences > images tab isn't related to <li> css styles hope it is clear Link to comment Share on other sites More sharing options...
Penge58 Posted September 18, 2013 Author Share Posted September 18, 2013 with css styles that i pasted we don't change the "image" but height of the <li> object preferences > images tab isn't related to <li> css styles hope it is clear Yes I understand. Thank you again :-) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now