• Resolved johno69

    (@johno69)


    Any way to style it as an accordian?

    Can you please advise which file I may need to look at editing.

Viewing 3 replies - 16 through 18 (of 18 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    hey @johno69, I think in my test-setup I forget the css..

    I did just test it with this CSS:

    .name_directory_name_box {
    margin-bottom: 10px;
    cursor: pointer;
    }

    [role="definition"] {
    margin-top: 5px;
    padding: 5px;
    background-color: #f0f0f0;
    border-left: 3px solid #007BFF;
    }

    .name_directory_name_box hr {
    margin-top: 10px;
    margin-bottom: 10px;
    }

    and this JS:

    jQuery(document).ready(function() {
    jQuery('.name_directory_name_box [role="definition"]').slideUp(1);
    jQuery('.name_directory_name_box [role="term"]').click(function() {
    var parentBox = jQuery(this).closest('.name_directory_name_box');
    parentBox.toggleClass('active');
    parentBox.find('[role="definition"]').slideToggle(200);
    });
    });

    I assure you we are going to fix it haha ??

    Thread Starter johno69

    (@johno69)

    We have a WINNER!!!

    Perfect in all ways. Many thanks for your continued efforts & support.

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Haha thanks for your quick replies! I am glad it works ?? Thanks again for the coffee, I will enjoy it ??

    Kind regards Jeroen

Viewing 3 replies - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.