Hello @muzammil1234,
Thanks for using our plugin.
Do you mean you want to allow users to hide their “Add Friend” Button, so no one can send them a friendship request?
Waiting for your kind reply.
Best Regards, KaineLabs Team.
Hello @youzify,
No, Actually I’m using Buddypress Profile Visibility for that but if a user is hiding Add Friend button from hi profile, the blocks of users in members directory are coming up as you can see in the attached link.
I want to give a height to the user block that whether it has Add friend button or not, the height of the block remains the same so that other blocks under that doesn’t come up.
Waiting for your reply.
Thank you.
Plugin Support
Youzify
(@kainelabsteam)
Hello @muzammil1234,
Ah! Thanks for the clarification, I get it now.
Please add this CSS below to your site and change the value 700 to your tallest card height:
#youzify-members-directory #youzify-members-list li .youzify-user-data {
min-height: 700px !important;
}
Let me know if that worked fine for you.
Best Regards, KaineLabs Team.
Thank you so much for your reply. I tried that but it didn’t solved the issue. Although I figured it out and this code is working perfect for me:
.yzm-user-actions{min-height:314px;}
Plugin Support
Youzify
(@kainelabsteam)
Hello @muzammil1234,
Happy that you solved it. You are welcome.
Have a great day!
Best Regards, KaineLabs Team.