Forums

[resolved] Collapse-O-matic (3 posts)

  1. Aneru
    Member
    Posted 11 months ago #

    I am using Pretty Spots 1.0.6 and am using version 1.3.8 of Collapse-O-Matic

    This plug in does everything I want it to but it's not including linebreaks so if I have two collapsing elements, they continue on the same line. This is for a resume page an would like to be able to include as many bullets as I need but I would aslo like to put space between collapsing element #1 and element #2. The code I'm trying to use is as follows:

    [expand title="Animorphous"]
    <ul>
    <li>Modeled characters.</li>
    <li>Animated.</li>
    </ul>
    [/expand]
    
    [expand title="Untwist"]
    <ul>
    <li>Network server setup and support.</li>
    <li>Customer service and general support.</li>
    </ul>
    [/expand]

    Simply putting breaks between the expand tags makes things worse and my breaks between the first [/expand] and the next [expand] end up disappearing when I edit. I know I'm missing something completely but I just don't know what

  2. Baden
    Member
    Posted 11 months ago #

    @Aneru: Yes, this is due to how your css treats spans. To fix this, simply include the tag attribute like so:

    [expand tag="div" title="Animorphous"]
    <ul>
    <li>Modeled characters.</li>
    <li>Animated.</li>
    </ul>
    [/expand]
    
    [expand tag="div" title="Untwist"]
    <ul>
    <li>Network server setup and support.</li>
    <li>Customer service and general support.</li>
    </ul>
    [/expand]

    Hope that helps!

  3. Aneru
    Member
    Posted 11 months ago #

    Thank you so much!

Reply

You must log in to post.

About this Topic