September 25, 2015 at 5:13 am
Hi Ben
So now the client wants a Pinterest ‘pin it’ to appear over all her images, so I downloaded a bunch of Pinterest plugins to get a measure of the territory. First up, most of them didn’t work at all (jQuery conflicts?). So that left me with 2 or 3 that did the job (but were very basic in their setup) and they are all much of a muchness. The one I used in the end was the Pinterest Master (lite not pro) as it didn’t use javascript and the pin came up quick and certain.
It works well on ‘standard’ images, but not so well on the standard Virtue lightbox. In fact all the plugins I tried (and worked) had the same issue. That is, the pin is situated in the top margin of the lightboxed image (so not over the image itself as on standard images) when the mouse pointer is over the image. But when you go to click it, the close ‘x’ glows and the ‘pin it’ logo totally disappears. Move the mouse back over the image and the ‘pin it’ button reappears as the close ‘x’ dulls down. (I have managed to fool it one and click on the pin so I know it works!)
You can see the problem on the image on the home page of cobblestonegallery.co.uk
So two options… a) move the ‘pin it’ down by css so it sits over the image or b) use CSS to hide the ‘pin it’ button when over the lightbox image. (I would tend to go for b) as the standard image is good enough for Pinterest, and allowing the relatively high-res images to circulate widely is akin to condoning copyright theft!)
Now, I’m not across the jQuery behind your lightbox, so I’m not sure of the best way to go about this or what CSS selectors I can use to specify just the lightbox images. I have the CSS classes for the ‘pin it’ button (which is a sprite hosted on a host server somewhere else).
I appreciate that this is not directly ‘Virtue’ related, but I would really appreciate a few seconds of your time here.
(And no chance is there of a built-in jQuery pinterest hover that works being built into Virtue? Pinterest isn’t really my thing, but I do understand it is the new ‘hot’ social media so we have to cope.)
Best, Colin