PDA

View Full Version : Hiding "FileName"


jeffbridges
Apr-08-2006, 11:53 AM
:clap :clap :clap


Yes. This will remove file name from all galleries:


/* kill filename in all galleries */
.galleryPage #imageInfo {display:none}


So I'm very new to this whole CSS thing (as in I started hacking my page some time yesterday afternoon and had never heard of CSS before then), but when I tried the above recommendation I ended up deleting EVERYTHING below the picture including comments, different image sizes, etc...

Here's what I came up with, and while I can't be sure it'll work for you, it works for galleries:

/* Turn off display of "filename:" */
.galleryPage #detailsFileName {display:none;}

Along with many other changes, here's my current gallery:
http://jeffbridges.smugmug.com/gallery/1344857/ (http://jeffbridges.smugmug.com/gallery/1344857/)

Andy
Apr-08-2006, 12:00 PM
So I'm very new to this whole CSS thing (as in I started hacking my page some time yesterday afternoon and had never heard of CSS before then), but when I tried the above recommendation I ended up deleting EVERYTHING below the picture including comments, different image sizes, etc...

Here's what I came up with, and while I can't be sure it'll work for you, it works for galleries:

/* Turn off display of "filename:" */
.galleryPage #detailsFileName {display:none;}

Along with many other changes, here's my current gallery:
http://jeffbridges.smugmug.com/gallery/1344857/ (http://jeffbridges.smugmug.com/gallery/1344857/)


Thank you, Jeff - nice tip!

Andy
Apr-08-2006, 12:55 PM
PS: Jeff -

you've got this in your css:


/* Disable gallery-wide comments, enable only single-image comments */
#comment_header {display:none;}
.singleImage #comment_header {display:block;}


You may want to add this:
.critique #comment_header {display: block;}


so that critiquer can leave you comments :wink

jeffbridges
Apr-11-2006, 12:13 PM
PS: Jeff -

you've got this in your css:


/* Disable gallery-wide comments, enable only single-image comments */
#comment_header {display:none;}
.singleImage #comment_header {display:block;}


You may want to add this:
.critique #comment_header {display: block;}


so that critiquer can leave you comments :wink

Ok, I added that line of code about the critiquer, but I have NO idea what it does...

Andy
Apr-11-2006, 12:53 PM
Ok, I added that line of code about the critiquer, but I have NO idea what it does...

:)