Page 1 of 1

How to hide comments

PostPosted: Mon Dec 29, 2008 10:53 pm
by roryhill
Can anyone help me with this? I want to hide the comments for my main gallery. I have found the class "gallery_comments", and can change the background, but nothing else.

Thanks in advance.

Rory

Re: How to hide comments

PostPosted: Tue Dec 30, 2008 12:06 am
by roryhill
I figured out a solution, although it still leaves the empty space where the comments and hitcount exist.

Code: Select all
.gallery_comments {
  visibility: hidden;
}

.gallery_hitcounts {
  visibility: hidden;
}

Re: How to hide comments

PostPosted: Tue Dec 30, 2008 12:17 am
by roryhill
Here is a better solution, as it completely "removes" the comments and hitcount.

Code: Select all
.gallery_comments {
  visibility: hidden; /* Not req'd, but works */
  position: absolute; /* move to above window */
  bottom: 2000px
}

.gallery_hitcounts {
  visibility: hidden;
  position: absolute; /* move to above window */
  bottom: 2000px
}

Re: How to hide comments

PostPosted: Tue Dec 30, 2008 4:47 pm
by alangrant
I notice that when I look at your main gallery in Firefox, the tops of the letters R, H, and ll in your name at the top right are cut off. Also the horizontal line goes through the words Main Gallery instead of beneath them. In Internet Explorer the heading looks much neater. I don't know if this is some kind of unintended side-effect of your positioning of the comments, or an unrelated issue that may have been there all along.