Title: Trigger inline/Hidden content after break
Last modified: August 13, 2019

---

# Trigger inline/Hidden content after break

 *  Resolved [roosmarie](https://wordpress.org/support/users/roosmarie/)
 * (@roosmarie)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/trigger-inline-hidden-content-after-break/)
 * Hi,
 * I wish to create a trigger that is integrated in a sentence, but in a way that
   the hidden content will be displayed the line below (so not inline).
 * I used the suggestions from [this post](https://spacedonkey.de/2828/collapse-o-matic-inline-trigger-with-block-target/),
   but cannot figure out how to get the desired effect.
 * Hidden text displayed line below (which I want), but rest of sentence as well(
   which I don’t want):
 *     ```
       ...However, when <span id="testme1" class="collapseomatic" title="this trigger">this trigger</span>
       <div id="target-testme1" class="collapseomatic_content">hidden content</div>
       is clicked...
       ```
   
 * Sentence continues after trigger, but ‘hidden text’ appears inline as well (which
   I want to appear below):
 * `...However, when [expand tag="span" title="this trigger" targtag="span"]hidden
   content[/expand] is clicked...`
 * Any answer is welcome!
 * Best, roosmarie

Viewing 1 replies (of 1 total)

 *  Plugin Author [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * (@twinpictures)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/trigger-inline-hidden-content-after-break/#post-11827038)
 * In the first example, the target is a div which is a block element, so it will
   always cause a break in the text.
 * The second example, both the trigger and target are span (inline) elements.
 * You could try using targtag=”maptastic” but this would only display the content
   correctly before it is expanded the first time.
 * The plugin does not currently support switching the target element tag or class
   when the state changes. If you absolutely need this, we would be happy to added
   it to [collapse-pro-matic](https://plugins.twinpictures.de/premium-plugins/collapse-pro-matic/)
   as it would be an advanced feature.
    -  This reply was modified 6 years, 9 months ago by [twinpictures](https://wordpress.org/support/users/twinpictures/).

Viewing 1 replies (of 1 total)

The topic ‘Trigger inline/Hidden content after break’ 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/)

## Tags

 * [block](https://wordpress.org/support/topic-tag/block/)
 * [break](https://wordpress.org/support/topic-tag/break/)
 * [trigger](https://wordpress.org/support/topic-tag/trigger/)

 * 1 reply
 * 2 participants
 * Last reply from: [twinpictures](https://wordpress.org/support/users/twinpictures/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/trigger-inline-hidden-content-after-break/#post-11827038)
 * Status: resolved