Support » Plugin: Collapse-O-Matic » Spacing and formatting trouble

  • Resolved zinderfine


    Hi there! I am having lots of trouble using the collapse-o-matic shortcode. I seem to be getting varying results when toggling between HTML and Visual views. The first paragraph of hidden text under the title is getting styled differently (smaller font).

    If I embed the title in a <P> tag using the tag=”P” attribute in the shortcode, it seems to fix it. But then I have a giant space below the title – especially when stacking several expanding items.

    In the sample URL above, you can see the first instance has a smaller font for some reason (it’s missing the <P> tag. I’ve tried wrapping the content in DIVs and it didn’t help.

    Thanks for your assistance!

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


    I read that thread and I don’t think it’s the same issue. I just tried the fix to add

    add_filter( ‘the_content’, ‘wpautop’,20 );

    Into functions.php. Is there any particular area it should be added to? It seemed to do nothing, but then when I tried to republish the post I got this:

    Parse error: syntax error, unexpected ‘,’ in /nfs/c01/h14/mnt/38083/domains/ on line 573

    Okay I un-did that code change. I’m not having a problem with the spacing now, just the formatting of the first block of text under the opening tag.

    I am able to avoid this problem if I make a hard line break under the tag, highlight the first paragraph and press the H4(etc.) button, and then press the Paragraph option.

    Plugin Author Baden


    have you tried wrapping the entire collection of expands in a div?

    Yep, that didn’t change anything. Well, at least I figured out how to manipulate the visual editor in a sequence that seems to fix the problem. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Spacing and formatting trouble’ is closed to new replies.