| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Subcategory Rows Not Filled Properly | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have a question about proper formatting for my subcategory rows. I have used previous posts on this topic (although quite difficult to apply because they are old) to alter my subcategory templates. This was in January I believe.
Well, now that I have 10 subcategories within a subcategory itself, they are not displayed properly. Initially, I set up the layout to show 5 subcategories per row. But now, it shows 5 in row 1, 4 in row 2 and 1 in row 3 (instead of filling a row before starting a new one). I'm guessing that it has to do with the "$tmp" in my subcategories.tpl, but I haven't been able to change it to what I want it to do. Here's the problem page that doesn't fill the rows completely: Custom Valances And here's my subcategories.tpl: HTML Code:
Thanks again!!! ![]() |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Hi anela2003,
What about trying this below. Adapt where you see fit (I've removed a quite a bit of code as we're concentrating on the table itself and made it html valid in the process)... Code:
Hope this gets in you in the right direction.
__________________
Doms kube v4.1.9 |
|||||||||
#3
|
|||||||
|
|||||||
![]() BEAUTIFUL!
Worked like a charm, thank you, thank you. |
|||||||
|
|||
X-Cart forums © 2001-2020
|