• Resolved Ingmarc

    (@ingmarc)


    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.

    The result is fine, but the animation looks a little weird, depending on screen size.
    here 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://ww.wp.xz.cn/plugins/jquery-collapse-o-matic/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Baden

    (@baden03)

    what happens when you do not wrap the collapse elements in h5 elements?

    Thread Starter Ingmarc

    (@ingmarc)

    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

    (@baden03)

    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.