socialgo
May 12th

Hide Group Members and Author

By ezra vancil
THIS POST HAS BEEN UPDATED > I was asked this question which is related to our earlier blog on hiding birthdays. People will usually gauge how good a group is on the size of it's member base -- this is true online and in the real world, kind of like a new restaurant with no cars in front of it. So how do you get them to take a look inside your groups without judging them before they hit the door? You hide the membership! Here is how it's done -

Normal:
groupsall.png

You have two options you can hide the entire statement of who the owner is and how many members it has, or you can just hide the owners name and the members number. 

Hide the author and members statement:

groupshide.png

  For this we will use our trusty display none, but to make sure we don't effect other elements on other pages, we will let our CSS know it's only on the groups page:
     
#groups-list 
.search-listing 
.listing-questions li  
{
 display: none; }


Hide just member number and author name:

groupname.png 
 
To hide just the member number and author name we will use the "Strong" tag.
     
#groups-list 
.search-listing 
.listing-questions li strong  
{
 display: none; }


You will notice that this changes your layout a bit, and it should because when you hide something it takes it out of the line, the space that it once held is gone. So if you want to keep the formating just the same you can also just change the color of this text to the color of your background like so:
     
#groups-list 
.search-listing 
.listing-questions li  
{
 color: black!important;        }


You could just effect the member OR the author, but this would get into javascript which is a little to expansive for this post