BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Display members list
Tagged: Member directory
- This topic has 7 replies, 2 contibutors, and was last updated 9 years, 4 months ago by Alyssa.
Question
June 24, 2015 at 4:34 pm #41614@marcoartOn tablets & mobile especially- is there a way to show more than one member in a row. Perhaps have a grid with 3 per row?
Answers
June 25, 2015 at 9:49 am #41653@alyssa-buddyboss
AlyssaParticipant@marcoart You could edit this element in custom.css:
#buddypress #members-list li{width:50%;}
or 33% for that matter
The only issue with this is that there are also buttons to add the user as a friend that will be misformatted. I cannot support this option but this should get you started. You could remove the buttons from mobile altogether on that page.
NOTE:Make sure you place the code in the mobile section of custom.cssJune 29, 2015 at 8:43 am #41848@marcoartOk thanks for your reply – I was trying to get the look and feel of an app using the photo squares as the navigation and leave interaction till they viewed the selected profile.
June 29, 2015 at 3:37 pm #41873@alyssa-buddyboss
AlyssaParticipant@marcoart no problem to remove the action buttons add this to the mobile section of your custom.css:
.item-list li .action{display:none;}
June 30, 2015 at 7:57 am #41930@marcoartPerfect – thank you – you have given me the look and feel of an app now 🙂
June 30, 2015 at 9:25 am #41939@marcoartI spoke a little too soon. When i add:
.item-list li .action{display:none;}
to the mobile sections of the custom.css it doesn’t remove the action buttons from the mobile version:
…….
`/*————————————————————–
2.1 – MAXIMUM width of 720 pixels (phones landscape)
————————————————————–*/
@media screen and (max-width: 720px) {
#buddypress #members-list li{width:33%;}
.item-list li .action{display:none;}
/*
.just_an_example {
color: black;
}
*/}/* don’t delete this closing bracket */
/*————————————————————–
July 2, 2015 at 7:46 pm #42055July 3, 2015 at 11:20 am #42090
- The question ‘Display members list’ is closed to new replies.