Title: Categories css collapse
Last modified: August 20, 2016

---

# Categories css collapse

 *  [spajk](https://wordpress.org/support/users/spajk/)
 * (@spajk)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/categories-css-collapse/)
 * Hi,
 * A few years ago i manage to collapse my categories with css. Today i want to 
   try this again, but it wont work.
 * I don’t want to use a plugin since it may be poorly coded and mess up.
 * Top Category 1
    – Child category 1 – Child category 2 – Child category 3
 * Top Category 2
    – Child category 1 – Child category 2 – Child category 3
 * These should collapse under the Top Category.
    When in the Top Category they 
   should be shown. When in the child category they still should be shown.
 * Anybody with a lovely code that will work?
 * Best regards
    Mattias

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/categories-css-collapse/#post-2525323)
 * Try looking for a jQuery accordion script.

Viewing 1 replies (of 1 total)

The topic ‘Categories css collapse’ is closed to new replies.

## Tags

 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [category](https://wordpress.org/support/topic-tag/category/)
 * [cats](https://wordpress.org/support/topic-tag/cats/)
 * [children](https://wordpress.org/support/topic-tag/children/)
 * [collapse](https://wordpress.org/support/topic-tag/collapse/)

 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/categories-css-collapse/#post-2525323)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
