• Resolved Abu Hasnath Rumman

    (@hassy008)


    Hello UM Team,
    Can you please tell me how can I make equal height profile card ?
    Here is my website outlook https://prnt.sc/26v3urs.
    And another question why total number of members are not showing at members page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @hassy008

    1. You need to customize it to display the total number of members. You can try the following code snippet to add it:

    add_action("um_members_directory_before_head","um_021422_show_total_members");
    function um_021422_show_total_members(){
        ?>
        <script type="text/javascript">
        jQuery(document).on("ready",function(){
            wp.hooks.addAction( 'um_member_directory_loaded', "um", function(directory, data) {
                jQuery(".um-directory-total-members").remove();
                if( data.is_search == false ){
                jQuery(".um-member-directory-header").append("<div class='um-members-wrapper'><div class='um-directory-total-members um-members-intro'><div class='um-members-total'>Total Members: " + data.pagination.total_users + "</div></div></div>");
                }
            });
    
        });
        </script>
        <?php
        
    }

    You can add the code to your theme/child-theme’s functions.php file or use the Code Snippet plugin to run the code.

    2. You can use this CSS to equal the profile cards’ height.

    .um-directory .um-members-wrapper .um-members.um-members-grid .um-member{
          height: 450px !important;
    }

    Add the above CSS to your theme’s styles.css file or theme customizer.

    Regards,

    Thread Starter Abu Hasnath Rumman

    (@hassy008)

    Thank you very much ??

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Thanks for letting us know.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Equal height of member profile card’ is closed to new replies.