Hello, fantastic ThemeCo support folks!
I am trying to get a clickable image to open a link in a popup window. (The link is to a page off my domain.) The image element provides an “open in new window” option, but not a popup.
In the first screenshot below, please see the Custom Headline “Brain Pickings: Oscar Wilde…” above an image of Oscar Wilde (circled in red). I would like both the headline and the image to open the linked page in a popup when clicked. I’ve written the Custom Headline in html to open the link in a popup window (see second screenshot). I would like clicking the image to open a similar popup as well, instead of opening in a new window.
Is there a way to do this? Perhaps with javascript, or by creating a class which I can add to the image?
Adding my WP credentials privately.
Thanks,
Marjorie