Christiaan_01 19 Posted December 7, 2012 Hi guys, I changed my subcategories view to grid view. No buttons or text, just 4 images standing next to each other. But now I often have that when I have a grid of say 12 subcats that it doesn't display 3 rows of 4 subcats. But rather like: ( 4 - 4 - 3 - 1 ). Sometimes one shows up at the right side, and leaving a blank space on the rest of the line. I've tried a few times to mix the sorting of the subcats and often switching one with another resolves the issue, but lately it has increased. And I would like to freely choose the order of my subcategories. I think it's somehow a problem with the sorting. It seems like 1 subcat can stick somewhere, even if I change its position it doesn't move. When I check with Firebug everything is normal. Any help is appreciated. Share this post Link to post Share on other sites
Marcin W. 0 Posted February 25, 2013 (edited) Hi, Your categories are displayed as items in a list (<li class="subcat">) these elemanty are floating left: .subcat { float: left; margin: 0 6px 20px; text-align: center; } different categories have names of different lengths, which affects their height add the specified height of list element, for example: .subcat { float: left; height: 160px; margin: 0 6px 20px; text-align: center; } Edited February 25, 2013 by Marcin W. (see edit history) Share this post Link to post Share on other sites
Christiaan_01 19 Posted March 9, 2013 Late response, have been on vacation, but it works. Thank you sóóó much! I have had so many headaches with Prestashop and you've relieved me from one of them. Thanks man! Share this post Link to post Share on other sites