ahoehn1001 Posted July 17, 2013 Share Posted July 17, 2013 I need to know how to specify in the code that there should be 3 products listed in each row not 4 on one and 2 on the next www.protectsurface.com Link to comment Share on other sites More sharing options...
tdr170 Posted July 17, 2013 Share Posted July 17, 2013 You can edit the homefeatured.tpl file and change the items per row at the top of the page then you will need to adit the css file to pad or margin as you like. while you are building the site if you would turn off CCC we can inspect the CSS code and give you margins and padding and any other changes needed to the CSS to line things up. As it is now we get all CSS files lumped into one file so we can not really see the individual CSS files. {if isset($products) AND $products} <div class="block_content"> {assign var='liHeight' value=250} {assign var='nbItemsPerLine' value=4} {assign var='nbLi' value=$products|@count} 1 Link to comment Share on other sites More sharing options...
ahoehn1001 Posted July 17, 2013 Author Share Posted July 17, 2013 Where is the CCC option to turn it off? Link to comment Share on other sites More sharing options...
ahoehn1001 Posted July 17, 2013 Author Share Posted July 17, 2013 I already figured that the homefeatured.tpl needed changed to 3 items per line, and I did that but because of not knowing how to edit the css its still showing 4 and 2 Link to comment Share on other sites More sharing options...
tdr170 Posted July 17, 2013 Share Posted July 17, 2013 Look under Advanced Parameters, Performance scroll down a little and change as below. Also did you modify anything else in the TPL file as I see that the two middle blocks are not padding the same as the rest, if so upload a new TPL file from the zip and change the row count to 3. Link to comment Share on other sites More sharing options...
ahoehn1001 Posted July 17, 2013 Author Share Posted July 17, 2013 Ok I think I got the CCC set so you can see the css. I think I see where the problem is as it has several of the items listed as last of line but i don't know where to edit those Link to comment Share on other sites More sharing options...
ahoehn1001 Posted July 17, 2013 Author Share Posted July 17, 2013 No I didn't change anything but the # of products per line Link to comment Share on other sites More sharing options...
tdr170 Posted July 17, 2013 Share Posted July 17, 2013 Ok it looks alright, try these settings and tell me what you think, just copy and paste to your CSS file and have a look. #featured-products_block_center li { margin-right:55px; padding:20px 0px 30px 0px; width:126px; height:240px; margin-left:12px } Link to comment Share on other sites More sharing options...
ahoehn1001 Posted July 17, 2013 Author Share Posted July 17, 2013 Cliet wants top line to have 3 (the carpet products) and then the second line to also have three (floor products) so it would be like ____ ____ ____ ____ ____ ____ Link to comment Share on other sites More sharing options...
ahoehn1001 Posted July 17, 2013 Author Share Posted July 17, 2013 I figured it out Thanks! Link to comment Share on other sites More sharing options...
tdr170 Posted July 17, 2013 Share Posted July 17, 2013 No problem glad to help. you owe me a BEER LOL Link to comment Share on other sites More sharing options...
Recommended Posts