0

I'm using magento 1.9 and i want to display 4 items in a list block ex: {{block type="catalog/product_list" category_id="411" column_count="4"  mode="grid" template="catalog/product/list.phtml"}}, then magento display 4 items correct! but in a row below it should show next 4 items side by side and that not happen magento show 1 item and break to next line showing again 4 items.

9
  • i've already try with limit and count but nothing this worked. Commented Sep 20, 2015 at 20:28
  • Are you using a custom theme? It sounds like there is a hard coded % 5 in list.phtml. Commented Sep 20, 2015 at 20:29
  • i'm using a rwd theme. Commented Sep 20, 2015 at 20:31
  • the rwd/default theme or a rwd theme? Commented Sep 20, 2015 at 20:37
  • @fschmengler could tell me in what tag is the % 5 ? Commented Sep 20, 2015 at 20:39

1 Answer 1

0

Not 100% sure but problem could be in your CSS, view source code I found that one which you may try. It shows product side by side when you change clear: left to clear: none

.products-grid--max-6-col > li:nth-child(6n+1) {
        clear: left; /* if this is clear: none*/
}
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.