tivicrdotcom Posted November 13, 2014 Share Posted November 13, 2014 So I have this bunch of items under the top menu heading "Woman" and if you click on it, the top menu displays nicely down but since there are too many items the list expands way down so I was wondering if one can accomodate those items into two or three columns so the list is not that long. You can see it in action here and simply rest your mouse on the top menu "Mujer'':http://tivicr.com/cosmeticos/ Link to comment Share on other sites More sharing options...
NemoPS Posted November 14, 2014 Share Posted November 14, 2014 I think the only way to achieve it (that I can think about at the moment) is by editing blocktopmenu.php. At the time it generates subcategories, in generateCategoriesMenu(), have it check for the number of entries. Something like $i = 0; foreach ($categories as $key => $category) { .. $html .= '</li>'; (this is the last LI) if($i%5==0) $html .= '</ul><ul>'; } Link to comment Share on other sites More sharing options...
tivicrdotcom Posted November 26, 2014 Author Share Posted November 26, 2014 Nemo, thanks for the reple. I tried with no success but I did found out that if you get rid of the miniature images, then it sort of spreads then cloumns, Too bad because the miniatures are a big seller. Link to comment Share on other sites More sharing options...
Recommended Posts