4 January 2018 at 06:11 #11519
For some reason, the title isn’t pulling in the alt text. I tried following some of your suggestions found in other forums without success. From what I am seeing, the class is showing display none. We tried overriding but its not working.
http://2017.rembrandtyard.com/weddings/ See the bottom gallery on this page. The first image has the alt text set.
– You’ll see here that it is set to display none:
But it is not pulling the alt text into the image. I tried to use the plugin you suggest for generating but it didn’t work. I checked on my regular inserted images and it is working.
Let me know what you need to troubleshoot.
4 January 2018 at 18:44 #11520PharéoKeymaster
Hi Charisa, looking at your page source code, I see it’s the Revolution Slider that is responsible for those image slides. This slider is a bit particular but it should be possible to use captions as image title in FancyBox.
I see you followed the instructions given by the developers of Revolution Slider on https://www.themepunch.com/faq/using-fancybox-with-slider-revolution/ which is OK but it does not address some particular issues. They will disable (or overwrite) all your settings on the Media admin page and also do not take care of any titles.
Hope you can make it work with these instructions 🙂
5 January 2018 at 18:08 #11527
Thanks for the details! I tried to change it out with your script and when I do, it does not lightbox the image anymore. When you say ‘you will need to give your image a caption text in the slider’. Do you mean just add a text layer? Or is that something different?
5 January 2018 at 18:40 #11528
I got the lightbox working with your script. I have a text layer caption added on the first slider here: http://2017.rembrandtyard.com/weddings/ but it still doesn’t show it. Maybe I’m not understanding how to insert a caption? I also have a caption set in the image itself.
6 January 2018 at 13:27 #11532RavanHKeymaster
Great you made it work for your case. Was it the ‘revapi’ number that fixed it or did you change something else?
Looking at the text block on http://2017.rembrandtyard.com/weddings/ it appears to be something else than what was used when we created the alternative script on https://premium.status301.net/support/topic/slider-revolution-revslider-integration/
That script is looking for text in a block called “Photography Textblock” but I’m not sure how that would be called on the back-end of the slider. So if you cannot find anything that would fit that description (it might even have been removed or replaced since then) there is the possibility to make this work with the text layer you are currently using:
div.tp-captionand let me know if it still does not work 🙂
6 January 2018 at 21:33 #11534
Yes, it was the revapi that fixed it.
Changing that div to civ.tp-caption did the trick! Thanks so much for your help!!
- You must be logged in to reply to this topic.