Folders/ captions questions
dlynne
Registered Users Posts: 15 Big grins
1. Is there code available to hide captions on folders or galleries until the photo is moused over? (as seen on http://www.lostonmarsphotography.com/Galleries/Lakes/, featured recently on the SmugMug blog.
2. I have successfully changed font size and color on gallery captions but can't find how to do the same on folders. In the meantime I have chosen to place folder captions under the photos for better readability, but that would not be my first choice.
http://www.debbielynne.smugmug.com/browse//
Thank you for your time and assistance.
Debbie Lynne
2. I have successfully changed font size and color on gallery captions but can't find how to do the same on folders. In the meantime I have chosen to place folder captions under the photos for better readability, but that would not be my first choice.
http://www.debbielynne.smugmug.com/browse//
Thank you for your time and assistance.
Debbie Lynne
0
Comments
For the second question, do you mean that you've used custom CSS to change the colour for galleries but haven't got it to work for folders?
Mel Jones Photography Ltd.
School and Nursery Photographer working in Blackpool and Lancashire, UK.
Google+ Page / Local | Facebook Page
Is the info hover option available for the photo captions in galleries?
I don't see any similar choice so I assume it is not but thought it best to ask!
Additional Question:
Is there a way to have the shaded caption area lighter? (when choosing captions beneath option.) I am thinking it is influenced by the theme color, i.e. white backgrounds have very light shading. Please advise... Thank you in advance.
Regarding changing the font for folders I have just found some code that worked for that.
http://debbielynne.smugmug.com/In-The-Garden/November-2013/
http://www.debbielynne.smugmug.com/browse//
Debbie Lynne
It is actually available for galleries. There are a few extra steps. Unfortunately, I'm unsure if you can modify site-wide at this time.
Customise > Customise Site
Then click the spanner on the gallery content area. This will bring up settings for the different gallery styles. If you choose the one you're using, you will get a dialogue similar to that for folders and can change the "Info Hover" option.
You can indeed change the appearance of the caption area but CSS will be involved.
You can use the .sm-user-ui .sm-tile-content > .sm-tile-info selector. It must be a specific sleector in order to override Smugmug's formatting.
For example, if I wanted to make my caption background cyan with 50% transparency, I could use:
The colour must be in the rgba format (red, green, blue, alpha) because using the opacity styling will also effect the text opacity.
You can obtain this value by looking up some colour charts or using a picker, both available on this site. You will want the 'Decimal Code', not the 'Hex' code. If you use the colour picker, the R, G and B fields are the RGB values. The last decimal number of course is the transparency between 0 and 1, 0 being complete transparency and 1 being no transparency.
Cyan caption background doesn't look so bad actually!
Mel Jones Photography Ltd.
School and Nursery Photographer working in Blackpool and Lancashire, UK.
Google+ Page / Local | Facebook Page
http://www.meljones.info/galleries
Added a nice transition too!
If anyone is wondering, this is the code I used:
There's quite a lot there because I wanted it to appear for all captions type areas except on images.
Mel Jones Photography Ltd.
School and Nursery Photographer working in Blackpool and Lancashire, UK.
Google+ Page / Local | Facebook Page