Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jan007 Friend
    #197044

    In contact category our team (team page) I’ve added 6 more team members.

    I’d like the new members to float neatly in a row under the first 4, but the layout breaks.

    Any help much appreciated.

    Thanks!


    1. ScreenHunter_01-Apr.-24-10.59
    jan007 Friend
    #532227

    If the text-information under the picture are the same number of lines the problem is not there…


    1. ScreenHunter_02-Apr.-24-11.26
    Ninja Lead Moderator
    #532444

    You can try to fix this problem with my workaround below

    Open templates/ja_decor/html/com_contact/category/default_items.php file and new rule into end of file

    <script type="text/javascript">
    var maxheight = 0;
    jQuery('.col-sm-3.team-item').each(function(){
    height = jQuery('.col-sm-3.team-item').height();
    if (height > maxheight) {
    maxheight = height;
    }
    jQuery('.col-sm-3.team-item').data('orgHeight', height);
    }).css('min-height', maxheight+30);
    </script>

    Let me know if it helps

    jonasso Friend
    #534989

    @ninja Lead,

    It works,…. Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  jonasso 10 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum