Skip to main content

Reply To: How to make top drop down Category split 1 row into 2 coloumn?

ClassiBase classifieds script Forums General help How to make top drop down Category split 1 row into 2 coloumn? Reply To: How to make top drop down Category split 1 row into 2 coloumn?

#1133 Reply

Elite Tan
Participant

dear Support, I’ve found something like this

http://stackoverflow.com/questions/2931879/superfish-dropdowns-to-be-columned-when-there-are-many-children-and-no-grandchi

1. we need to add code to the frontend.php to specify say from category id 1 to 50 place in <div class=”listblock”> as per above link, then category id 51 to 100 place into the next <div class=”listblock”> so that it’ll create 2 column, and

2. in frontscreen css we need to specify height in top_nav ul li ul to limit to 500px
.top_nav ul li ul{position: absolute; background-color: #222; display: none; z-index: 999;box-shadow: 0 0 5px #000;max-height: 500px; }

now the question is for item 1 what is the code to specify to set a condition
for category range 1 to 50 place in first listblock and category range 51 to 100 place in 2nd listblock so that it’ll create 2 column, and for item 2 above any other code to add, please advice regards 1+2 and to hear from you soon, Thanks alot…………

  • Classifieds Business Newsletter

    Get discounts and tips about growing your classifieds website.

    Subscribe