Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

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. :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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