help removing caption and keywords from smugmug gallery
bernardpearson
Registered Users Posts: 31 Big grins
Hi all
I have the following gallery and I wish to disable the captions and keywords and only have the filename.
http://www.bernardpearson.com/SoldierOn/Ball2015/
It irritates me that smugmug cannot simply allow the image filenames to be displayed.
I am trying to attach the following css and I am not having any success in removing the caption and keywords. Using the following CSS
.gallery_49873117_dK4DpK #smugmug #photos .caption {display:none}
.gallery_49873117_dK4DpK #photoKeywords {display:none}
Questions
1: Have I got the correct gallery id?
2: Also how do I apply this CSS and where? a CSS block on the gallery?
All help would be greatly appreciated:help
Bernard
I have the following gallery and I wish to disable the captions and keywords and only have the filename.
http://www.bernardpearson.com/SoldierOn/Ball2015/
It irritates me that smugmug cannot simply allow the image filenames to be displayed.
I am trying to attach the following css and I am not having any success in removing the caption and keywords. Using the following CSS
.gallery_49873117_dK4DpK #smugmug #photos .caption {display:none}
.gallery_49873117_dK4DpK #photoKeywords {display:none}
Questions
1: Have I got the correct gallery id?
2: Also how do I apply this CSS and where? a CSS block on the gallery?
All help would be greatly appreciated:help
Bernard
0
Comments
The page class name in red when used will make the CSS specific to this gallery.
<body style="" class="sm-user-professional sm-page sm-page-node sm-page-node-tkMKXc
sm-page-parentnode-kCSM7 sm-page-parentnode-NHRQ4t sm-page-gallery sm-page-gallery-album sm-page-initialized">
This would remove the caption and keywords. And title.
.sm-page-node-tkMKXc .sm-tile-info {display:none}
Or just remove just the KW's
.sm-page-node-tkMKXc .sm-tile-keywords {display:none}
or display KW's only for you when logged in
.sm-page-node-tkMKXc .sm-tile-keywords {display:none}
.sm-user-owner.sm-page-node-tkMKXc .sm-tile-keywords {display:block}
Note: .sm-user-owner.sm-page-node-tkMKXc has no space between them because they are
both in the same div body class.
Looks like the caption has no class name assigned so have to the :nth-child() Selector.
.sm-page-node-tkMKXc .sm-tile-info p:nth-child(3) {display:none}
I am using "Inspect Element" in Firefox.
My Website index | My Blog
If you lead your CSS rule with it, it will be specific for this gallery only.
Because it is specific you can put it in "entire site" or "all galleries" CSS. You do not have to "Make This Gallery Custom".
I would only "Make This Gallery Custom" or page or folder if you're adding/deleting a widget only for that page.
There's been many a mistake made when wanting to a add something like a text or html for special instructions to a page
and it shows up on all pages of this type. So in the right flyout pay attention to what is highlighted.
All my bird folders have a HTML widget above the thumbs so every folder in this tree is "Just This Folder".
Start here and click down to sub-folders and below for an example. I use the gallery description at the end.
http://www.photosbyat.com/Birds/2015-Birding
My Website index | My Blog
Thanks for your help.
I applied the above text into my CSS and it has removed the captions and keywords.
Sorry to trouble you again, did you have advice on how to display the filename?
Thanks
Hi Allen,
Thanks for your help.
I applied the above text into my CSS and it has removed the captions and keywords.
Sorry to trouble you again, did you have advice on how to display the filename?
Thanks
file names in gallery settings. Of course, you can't hide captions then.
My Website index | My Blog
Hi Allen,
Part of my work flow is to embedd information into the caption field that complies with alot of my clients archive conventions and to compile with the Alt text for WCAG 2.0 accessability.
When I upload these images into smugmug it auto populates the caption and keyword boxes. It is not always required to display and hence why I wish to turn off the captions and keywords to make the gallery cleaner, particulary for displaying on mobile platforms.
I cant understand the simplest things of displaying an image filename gets repeatedly ignored by smugmug devs as all photographers have a filenaming method and this filename is what is referenced between photographer and client.
Just wish there was a simple way of achieving this.
I am not a coder and have very limited experience with this so if you can explain in simple laments terms that would be appreciated
Thanks