Title: align expanded element
Last modified: August 22, 2016

---

# align expanded element

 *  Resolved [Ingmarc](https://wordpress.org/support/users/ingmarc/)
 * (@ingmarc)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/align-expanded-element/)
 * I want to expand an element, left aligned, no vertical spacing.
    Through the 
   forum I found code from the demo’s at the [spacedonkey site](http://spacedonkey.de/737/collapse-o-matic-target-tag-target-position-test/).
 * The result is fine, but the animation looks a little weird, depending on screen
   size.
    [here](http://www.ingmarcramers.de/wordpress/contactpage/) is a link, 
   the password is 1234.
 * this is the code I’m using, for example on the lower link called “press”:
 * `[expand title="press" tag="span" targtag="span" targpos="inline" trigclass="
   my_trigger span_fix noarrow" targclass="span_fix"] Content [/expand]`
 * I just want it to appear smootly below the link, aligned left…
    Thanks for any
   help!
 * [https://wordpress.org/plugins/jquery-collapse-o-matic/](https://wordpress.org/plugins/jquery-collapse-o-matic/)

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

 *  Plugin Author [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/align-expanded-element/#post-5620442)
 * what happens when you do _not_ wrap the collapse elements in h5 elements?
 *  Thread Starter [Ingmarc](https://wordpress.org/support/users/ingmarc/)
 * (@ingmarc)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/align-expanded-element/#post-5620453)
 * It solves the problem – the animation is good – but the font should be size h5…
   
   It seems so much code for it just to appear at root level without spacing… Thank
   you for the quick response.
 *  Plugin Author [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/align-expanded-element/#post-5620476)
 * to address the font size issue you simply need to create a new class in the plugin’s
   settings page under custom css:
 *     ```
       .my_trigger {
           font-size: 13px;
           line-height: 1.4;
           letter-spacing: 1px;
           font-family: 'helvetica';
       }
       ```
   
 * and then assign this class using the trigclass attribute:
 *     ```
       [expand title="press" tag="span" targtag="span" targpos="inline" trigclass="my_trigger span_fix noarrow" targclass="span_fix"] Content [/expand]
       ```
   
 * Yes, this does seem like quite a bit of code, but if you will use the plugin 
   every time in this way, you can set much of this up in the default settings on
   the plugin option page.
 * Let us know if there is anything else we can help you with. For now we will go
   ahead and mark the issue as resolved.

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

The topic ‘align expanded element’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Baden](https://wordpress.org/support/users/baden03/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/align-expanded-element/#post-5620476)
 * Status: resolved