prestaslo Posted October 26, 2013 Share Posted October 26, 2013 Hi, I just changed products view like on guide on this link: http://mypresta.eu/en/art/developer/prestashop-products-list-grid-view.html Now I would like to change also new products block design on homepage to this... Can anyone please tell me how to do this? Best regards Link to comment Share on other sites More sharing options...
vekia Posted October 26, 2013 Share Posted October 26, 2013 have you tried to use code mentioned in tutorial also for new products block? you have to copy whole <li> </li> code + <script> to overlay effect and change css styles (each instace from #product_list change to #featured-products_block_center) effect Link to comment Share on other sites More sharing options...
prestaslo Posted October 26, 2013 Author Share Posted October 26, 2013 Thanks for answer! I changed and copy css file, but there is still not the same effect... Do I must also copy tpl file? Best regards Link to comment Share on other sites More sharing options...
prestaslo Posted October 26, 2013 Author Share Posted October 26, 2013 Can you please attach file to copy here? Link to comment Share on other sites More sharing options...
vekia Posted October 26, 2013 Share Posted October 26, 2013 sure wait a second im going to prepare it full code here. 1 Link to comment Share on other sites More sharing options...
prestaslo Posted October 26, 2013 Author Share Posted October 26, 2013 sure wait a second im going to prepare it full code here. Thanks! Link to comment Share on other sites More sharing options...
vekia Posted October 26, 2013 Share Posted October 26, 2013 ok i've got it. homenewproducts.tpl file: http://pastebin.com/s3NcH9Yx homenewproducts.css file: http://pastebin.com/Y2Wj2h6u effect: you can use the same code in homefeatured module 1 Link to comment Share on other sites More sharing options...
prestaslo Posted October 26, 2013 Author Share Posted October 26, 2013 It works perfect! Thanks! Link to comment Share on other sites More sharing options...
vekia Posted October 26, 2013 Share Posted October 26, 2013 you're welcome im glad that i could help you a little in this case topic marked as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
prestaslo Posted October 29, 2013 Author Share Posted October 29, 2013 How can I set space between boxes? Link to comment Share on other sites More sharing options...
vekia Posted October 29, 2013 Share Posted October 29, 2013 add margin-right:10px; to: #featured-products_block_center li { text-align:center; margin-bottom:14px; border:1px solid #eee; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; padding:10px; width:150px; display:inline-block; vertical-align:top; margin:2px; position:relative; } Link to comment Share on other sites More sharing options...
prestaslo Posted October 31, 2013 Author Share Posted October 31, 2013 add margin-right:10px; to: #featured-products_block_center li { text-align:center; margin-bottom:14px; border:1px solid #eee; -moz-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; padding:10px; width:150px; display:inline-block; vertical-align:top; margin:2px; position:relative; } Thanks for answer. I add this to homenewproducts.css as you said, but nothings change... Link to comment Share on other sites More sharing options...
vekia Posted October 31, 2013 Share Posted October 31, 2013 hello can you share url to your website once again? i don't remember it Link to comment Share on other sites More sharing options...
prestaslo Posted November 1, 2013 Author Share Posted November 1, 2013 Yes, sure... www.pingubuy.com Link to comment Share on other sites More sharing options...
vekia Posted November 1, 2013 Share Posted November 1, 2013 hello add this code to the #featured-products_block_center li { text-align: center; margin-bottom: 14px; border: 1px solid #eee; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 10px; width: 150px; display: inline-block; vertical-align: top; margin: 2px; position: relative; } http://pingubuy.com/modules/homefeatured2/css/homefeatured15.css Link to comment Share on other sites More sharing options...
prestaslo Posted November 1, 2013 Author Share Posted November 1, 2013 hello add this code to the #featured-products_block_center li { text-align: center; margin-bottom: 14px; border: 1px solid #eee; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 10px; width: 150px; display: inline-block; vertical-align: top; margin: 2px; position: relative; } http://pingubuy.com/modules/homefeatured2/css/homefeatured15.css Thanks! 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