WordPress.org

Ready to get started?Download WordPress

Forums

Collapse-O-Matic
[resolved] Close previouss trigger automatically? (7 posts)

  1. anhtuan020588
    Member
    Posted 2 years ago #

    Hello,

    Is there anyway when i click next trigger, the previous trigger close collapse automatically?

    Thank you.

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

  2. Baden
    Member
    Plugin Author

    Posted 2 years ago #

    Rel Attribute Highlander Grouping
    Examples are shown in the documentation.

  3. anhtuan020588
    Member
    Posted 2 years ago #

    Thank you so much Baden. One more thing, please help me config the distance of two lines.

    My website here: http://www.export2global.net/nhadep/net-quyen-ru-cua-hayman-island-resort/
    You can look the screenshot here: http://www.export2global.net/nhadep/distance.jpg

  4. Baden
    Member
    Plugin Author

    Posted 2 years ago #

    Can you post the exact shortcode you are using to create this?
    Also, be sure you are not working in the Visual editor, be sure to use the HTML editor.

  5. anhtuan020588
    Member
    Posted 2 years ago #

    Here is the shortcode [expand title="1. Câu hỏi" rel="animal-highlander" targclass="highlight"]text[/expand]</br>

    I've tried to use the HTML editor but it's still have break and don't hightlight http://www.export2global.net/nhadep/docs/space_break.jpg

  6. Baden
    Member
    Plugin Author

    Posted 2 years ago #

    Here are three things to try:

    1. Try removing the <br/> tag:

    [expand title="1. Câu hỏi" rel="animal-highlander" targclass="highlight"]text[/expand]
    [expand title="2. Bla Bla" rel="animal-highlander" targclass="highlight"]text[/expand]

    2. Try wrapping the expands in a div:

    <div>[expand title="1. Câu hỏi" rel="animal-highlander" targclass="highlight"]text[/expand]
    [expand title="2. Bla Bla" rel="animal-highlander" targclass="highlight"]text[/expand]</div>

    3. Try change the execution priority of wpautop by adding the following line to functions.php:

    add_filter( 'the_content', 'wpautop', 20 );

  7. anhtuan020588
    Member
    Posted 2 years ago #

    I've tried following all your step but the space still exist http://www.export2global.net/nhadep/docs/space.jpg

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic