Log In · Register

 
 
Closed TopicStart new topic
comments question
Yuniechan
post Jul 1 2009, 11:40 PM
Post #1


Senior Member
***

Group: Member
Posts: 84
Joined: Mar 2007
Member No: 511,742



how do you hide the comments but keep the number of comments? along with the add comment of course
 
Mikeplyts
post Jul 1 2009, 11:44 PM
Post #2


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Is this for profile 1.0 or 2.0?
 
Mickey
post Jul 2 2009, 02:37 AM
Post #3


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



If you need this for 1.0, use this code:

CODE
<style>
.FriendsComments table table {display:none;}
.friendsComments td {height:0px; background-color:transparent;}
.FriendsComments td td b a {display:inline;}
</style>

For 2.0, place this in your CSS section:

CODE
div.commentsModule div.moduleBody ul.moduleList {display:none;}

However, that will leave duplicate View All and Add Comment links. Unfortunately, removing one set also removes the other. Either stick with both or remove both. If you want to hide the links, then use this code instead:

CODE
div.commentsModule div.moduleBody ul.moduleList {display:none;}
div.commentsModule div.toolbar ul.links {display:none;}
div.commentsModule div.moduleBottom {margin-top:-5px;}

(2.0 codes courtesy of this module manager.)
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: