WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] Spacing and formatting trouble (6 posts)

  1. zinderfine
    Member
    Posted 1 year ago #

    http://ls.mapleunderground.com/rocket-robin-hood/

    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!

    http://wordpress.org/extend/plugins/jquery-collapse-o-matic/

  2. Baden
    Member
    Plugin Author

    Posted 1 year ago #

  3. zinderfine
    Member
    Posted 1 year ago #

    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/ls.mapleunderground.com/html/wp-content/themes/gonzo/functions.php on line 573

  4. zinderfine
    Member
    Posted 1 year ago #

    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.

  5. Baden
    Member
    Plugin Author

    Posted 1 year ago #

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

  6. zinderfine
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic