Can I suppress file name of a photo in a slide show from a gallery)?
-
My theme is Twenty Twelve – with CSS Customization. In a slide show (initiated by double-clicking a photo in a gallery), there exists the photo, the caption and the photo file name. Can I suppress that file name?
(see proustmatters>menu>Wordpress Experiments)The blog I need help with is: (visible only to logged in users)
-
oops Hold everything. I think I see the problem – coming from “Title” and “Caption” . If I leave Title blank, WP fills it with the filename – which then dribbles on into the photo in a slide show (but not, curiously, in a stand-alone photo.)
-
It is a good idea to have titles on images so that the search engines can see them, otherwise they may not index your photos. Have you removed the titles from the images on the WordPress Experiments page?
-
If you put a title back onto one of the images, and then let us know which image, we can see about hiding it for you.
-
I set a few titles:
proustmatters>menu>WordPress Experiments
The first thing is a gallery (based on a category). Click on the first image (parasols) to place it in slide-show mode. There you will see the Title (as well as the caption. Can all titles be hidden?
Thanks sacredpath. -
Hi there,
Try:
.jp-carousel-light .jp-carousel-close-hint:hover, .jp-carousel-light .jp-carousel-titleanddesc div { display: none; }Let me know how that works!
-
Yes eurello. It works. One teeny question. I’m trying to learn a little CSS … and want to ask there a missing left curly brace in your code above. (anyway, it worked with no change … I just did a copy and paste.)
Thank you, thank you. -
Sure thing! I don’t think I missed one, but you have to scroll to the right to see one. :)
It’s very easy to miss them though; for every opening brace, you need a closing one.
If you’re learning, we’ve got a great series on the Daily Post teaching our users basic CSS. You should check these out! They’re a big help:
http://dailypost.wordpress.com/2013/06/21/css-intro/
https://dailypost.wordpress.com/2013/07/25/css-selectors/
http://dailypost.wordpress.com/2013/08/29/css-matched-rule-pane/Let me know if you have further questions!
-
The brace I don’t see in your code above is the opening (left) brace. Can you help me see where it is? (jeez – I don’t mean to be a PIA!! … after all, it worked beautifully just as you wrote it …since I did a copy and paste.)
(Thanks for the links!)
-
Not a PIA at all! I appreciate that you’re trying to learn. :)
If you click on my code up there, you should see a horizontal scroll bar – you can scroll over to the left of that text box it’s in. When we embed code in the forums, it doesn’t wrap. Not super obvious the first time you see that. ;)
-
- The topic ‘Can I suppress file name of a photo in a slide show from a gallery)?’ is closed to new replies.