Back to GD bbPress Attachments Forum

Not able to close attachments?

Published on: April 22, 2021 at 1:18 am · By: csgaraglino

I have everything working, but when I click to view an attachment, it takes over the whole screen and there is no way to close it.

See this demo URL.

The attachments either need to open in a new tab or at least have a way to close it.

Viewing 1 replies (of 1 total)
  • #65777


    That’s how the browsers work – when you click on an image, it opens it in the current tab/window. It can’t be close, but the browser back button is working to get back to the original page.

    You can use any Lightbox plugin that will open the image in the current page as an overlay, and my plugin has the option to specify CSS class or REL for that lightbox (it depends on the Lightbox plugin, but usually, REL needs to be set to ‘lightbox’, or in some cases, CSS class has to).


    Dev4Press - Premium plugins for WordPress.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.