Magento Forum

CSS for related products messed up
 
handcoded
Sr. Member
 
Avatar
Total Posts:  110
Joined:  2007-09-06
 

Hi

My website uses a custom theme and the related products now only show 1 per line instead of 3. I know this is a stylesheet problem but can’t work it out. I changed a category page so that categories were listed 5 across but doing this messed up the related products. To fix this I’ve duplicated the styles for products-grid to products-grid2 and changed the related products theme file but I must be missing something.

Example - http://www.toys4cars.co.uk/alfa-romeo-mito-2008-tow-trust-towbar.html

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
kmHelms
Sr. Member
 
Total Posts:  227
Joined:  2012-03-05
 

you just need to add float: left; or display: inline to your list items in your css smile

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top