Title: Multiple Styles
Last modified: August 21, 2016

---

# Multiple Styles

 *  Resolved [carlhead](https://wordpress.org/support/users/carlhead/)
 * (@carlhead)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multiple-styles-2/)
 * Good day,
 * This is the first accordion plugin I’ve found that works so simply and well. 
   Thank you!
 * I’ve got a situation where I’m using multiple accordions on a page, I see your
   shortcode outputs some html code with specific classes. Is it possible to work
   around a single class limitation so I can target different classes to have different
   looking accordions on the same page?
 * I’ve tried inserting the <div> HTML in the editor instead of the shortcode, but
   this does not work for some reason.
 * Thanks again,
 * Carl
 * [https://wordpress.org/plugins/accordion-shortcodes/](https://wordpress.org/plugins/accordion-shortcodes/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [philbuchanan](https://wordpress.org/support/users/philbuchanan/)
 * (@philbuchanan)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multiple-styles-2/#post-5030401)
 * Hi Carl,
 * You won’t be able to add the HTML directly since the plugin relies on the shortcode
   being present in order to know when it needs to add the JavaScript file. It only
   loads the JavaScript file on pages that actually have the shortcodes.
 * You should, however, be able to wrap your entire shortcodes in `<div class="first-
   accordion">[accordion]...[/accordion]</div>` and simply replace the classname
   on that div for each one you want to style differently.
 * Then you can target each one in your CSS using `.first-accordion .accordion {...}`
   and `.first-accordion .accordion-title {...}` etc.
 * Hope that helps.
 *  Thread Starter [carlhead](https://wordpress.org/support/users/carlhead/)
 * (@carlhead)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/multiple-styles-2/#post-5030426)
 * Hi Phil,
 * Sounds like the right solution to the need.
 * Thanks so much for coming back to me.
 * Great plugin!
 * /Carl

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multiple Styles’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accordion-shortcodes.svg)
 * [Accordion Shortcodes](https://wordpress.org/plugins/accordion-shortcodes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accordion-shortcodes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accordion-shortcodes/)
 * [Active Topics](https://wordpress.org/support/plugin/accordion-shortcodes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accordion-shortcodes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accordion-shortcodes/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [carlhead](https://wordpress.org/support/users/carlhead/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/multiple-styles-2/#post-5030426)
 * Status: resolved