I am using sitesmile auction theme. Here is my working site. In home page there is a sidebar saying "Browse by Categories". I want to make this menu as drop down or like accordion. Whenever the user hover on the parent category, the sub category will appear.

As it is the category of Custom Post Type, I can't figure that out.

Here is an example, how I want mine:
Menu image


Doesn't look like that list is in your sidebar anymore, but I did find it on your "Show All Categories" page. You can accomplish the accordion effect either with CSS or a combination of CSS + jQuery; here is a jsFiddle example to get you started. As this is a display issue, it doesn't matter if they are normal pages or custom post types. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.