blajcata Posted November 23, 2009 Share Posted November 23, 2009 Hello,I want to decrease the size of the homepage products. I want to have 8 products on index page. Currently all the products from the homepage are listed in 2 rectangles. I attached a picture that shows what i want to do: I want to get rid of the red rectangle of the picture. How can I do that? Link to comment Share on other sites More sharing options...
rocky Posted November 24, 2009 Share Posted November 24, 2009 Modify modules/homefeatured/homefeatured.tpl and reduce the value of the liHeight to the height of each row in pixels. Link to comment Share on other sites More sharing options...
blajcata Posted November 24, 2009 Author Share Posted November 24, 2009 I modified the value of the the value of the liHeight; I put liHeight=1000(default = 360) and nothing was changed.Maybe is other setting to change... Link to comment Share on other sites More sharing options...
rocky Posted November 24, 2009 Share Posted November 24, 2009 You should decrease the value, not increase it, so the height of the ul is equal to the height of the li * the number of rows, then you won't have extra space at the bottom of your featured products. Link to comment Share on other sites More sharing options...
blajcata Posted November 24, 2009 Author Share Posted November 24, 2009 It worked.Thank you very much.I have a theme installed, not the one default in Prestashop and I modified the default homefeatured.tpl . That's why it didn't work for the first time.Thanks again.Topic Closed. 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