Log In · Register

 
 
Closed TopicStart new topic
Hiding comments but keeping comment box?
Jennifer
post Jun 10 2009, 03:53 AM
Post #1


<3
******

Group: Official Member
Posts: 1,369
Joined: Jun 2007
Member No: 539,187



On my createblog profile, I want to create a div layout, with my comments hidden.. but I want people to still be able to comment me, is this possible?
I looked at the ID's but couldnt find anything relating.. please helpppp!
 
Mikeplyts
post Jun 20 2009, 10:08 AM
Post #2


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

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



It's actually quite simple.

Just use this in your Header HTML:

CODE
<style>
#comments{display: none !important;}
</style>


And add the comment box code in your Footer HTML:

CODE
<form action="comment.php" method="POST">
<textarea name="comment"></textarea><br>
<input type="submit" class="button" value="Submit">
</form>


or you can use this code for the comment box except with a reset button. Footer HTML:

CODE
<form action="comment.php" method="POST">
<textarea name="comment"></textarea><br>
<input type="submit" class="button" value="Submit"> <input type="reset" class="button" value="Reset">
</form>
 
Jennifer
post Jul 11 2009, 05:13 AM
Post #3


<3
******

Group: Official Member
Posts: 1,369
Joined: Jun 2007
Member No: 539,187



It worked, thanks! But now I'm wondering - is there a way to make it any smaller?
 
Mikeplyts
post Jul 12 2009, 03:52 PM
Post #4


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

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



Yeah, you can just edit it's width and height in your CSS.

Header HTML:
CODE
<style>
textarea {
width:###px;
height:###px;
}
</style>

Replace the ### with your own values. _smile.gif
 

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