• Resolved tinalewis

    (@tinalewis)


    Hello, thanks for an amazing plugin!

    I have my gallery set to show the caption on hover. But with that setting I am unable to get a right mouse ‘open link in new tab’ menu.

    Is there any css setting I can use to get the same right click menul as when there is no caption visibility?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author steveush

    (@steveush)

    Hi @tinalewis,

    This is a by product of the captions allowing clickable content within them as well as them being displayed over the original anchors in the page. The right click option to “Open link in new tab” is only available on anchor elements within a page and when you are right clicking with a caption visible you are not clicking the actual anchor but an overlay on top of it.

    That said if you do not intend to have clickable content within captions there is some CSS you can apply that will effectively make the captions invisible to the mouse or touches allowing the right click behavior of the anchor and show the expected context menu.

    .foogallery .fg-caption,
    .foogallery .fg-image-overlay {
    	pointer-events: none;
    	touch-action: none;
    }

    This can be inserted into your sites styles.css file to apply it globally.

    Thanks
    Steve

    Thread Starter tinalewis

    (@tinalewis)

    Thanks Steve, that works perfectly!

    Tina

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Right clickable links with caption hover’ is closed to new replies.