Board index PBase HTML and Style Sheets How to hide comments

HTML and Style Sheets

How to hide comments

Customize your galleries.
roryhill
 
Posts: 8

How to hide comments

Post Mon Dec 29, 2008 10:53 pm


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

roryhill
 
Posts: 8

Re: How to hide comments

Post Tue Dec 30, 2008 12:06 am


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;
}

roryhill
 
Posts: 8

Re: How to hide comments

Post Tue Dec 30, 2008 12:17 am


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
}

alangrant
 
Posts: 861

Re: How to hide comments

Post Tue Dec 30, 2008 4:47 pm


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.
Alan
Travel Photos - http://www.pbase.com/alangrant
Balkanology: Explore Southeast Europe - http://www.balkanology.com/


Board index PBase HTML and Style Sheets How to hide comments

Who is online

Users browsing this forum: ClaudeBot and 2 guests