Title: Triggering CSS on open and close
Last modified: August 30, 2016

---

# Triggering CSS on open and close

 *  Resolved [alfredm](https://wordpress.org/support/users/alfredm/)
 * (@alfredm)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/triggering-css-on-open-and-close/)
 * I may be asking something obvious, but how would I be able to trigger different
   CSS depending on whether the open or closed state is clicked on for the individual
   expands. For example, I need to hide certain div’s on the parent page when the
   expand element is opened, then restore them when the element is closed back up.
   Anyone know the best practice for doing this? I have the latest Pro version of
   the plugin & am also using Collapse Commander (awesome plugins!).
 * Thanks for you help in advance.
 * [https://wordpress.org/plugins/jquery-collapse-o-matic/](https://wordpress.org/plugins/jquery-collapse-o-matic/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/triggering-css-on-open-and-close/#post-6465654)
 * since this is a pro related issues, we’ll address this with you directly via 
   our support channel. Issue marked as resolved.

Viewing 1 replies (of 1 total)

The topic ‘Triggering CSS on open and close’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/jquery-collapse-o-matic_fffeff.svg)
 * [Collapse-O-Matic](https://wordpress.org/plugins/jquery-collapse-o-matic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jquery-collapse-o-matic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jquery-collapse-o-matic/)
 * [Active Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jquery-collapse-o-matic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jquery-collapse-o-matic/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Baden](https://wordpress.org/support/users/baden03/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/triggering-css-on-open-and-close/#post-6465654)
 * Status: resolved