| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Related Products.tpl - column versus row format | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi - just wondering whether someone can help me modify this code please. I've got my related products showing with thumbnails, but they are appearing in one long column. I'd like to change the code so that they appear in a row (5 across the page). I'm new to HTML code, and don't know where to begin with this. Any help is appreciated.
Code:
__________________
NJB Sydney, Australia x-Cart Version 4.0.12 |
|||||||
#2
|
|||||||
|
|||||||
![]() Try this:
http://forum.x-cart.com/viewtopic.php?t=14995 For 5 columns, just change the number in this line of code from 3 to 5: Code:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for pointing me in the right direction. I've now got the code above, but there is quite a lot of white space between the Product Name and the thumbnail. How do I close the gap slightly and move the Product Name closer to the thumbnail image?
Thanks. Code:
__________________
NJB Sydney, Australia x-Cart Version 4.0.12 |
|||||||
#4
|
|||||||
|
|||||||
![]() Remove one of the two
tags at the end of the code for the product image.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Brilliant - thanks!
__________________
NJB Sydney, Australia x-Cart Version 4.0.12 |
|||||||
|
|||
X-Cart forums © 2001-2020
|