View Single Post
  #11  
Old 04-19-2016, 09:25 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: how to change # of tiles per row

This will be a tricky one.

You should set every ".products-grid .product-cell" to "position:relative", and ".products-grid .product-cell .product" to be "position:absolute". But this will collapse the ".product-cell" (as absolutely positioned blocks are taken out of the flow), so now you have to set a fixed width and height for ".product-cell" (and also tweak the nested ".product" blocks to correct their dimensions).

So, basically it is possible without JavaScript, but you will end up with fixed dimensions set for the cells.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote