SOLVED: 1.8 beta2 Bricks' lightbox always shows arrows/counter, even if just one image

Steps to recreate-

  • Add an image element to the page.
  • Set the ‘link’ setting to ‘lightbox’
  • Save, view on front and click the image.
  • notice the arrows are showing, and the counter, giving the impression that there’s more images to navigate to.
1 Like

Hey David,

thanks for your report.

I could reproduce the issue and added it to our bug tracker.

Best,

André

@wplit Workaround for now – which I guess you have probably already figured out yourself :nerd_face: – is adding some custom CSS. This is how Photoswipe does it originally (adjusted to the Bricks specific classes):

.pswp.brx.pswp--one-slide .pswp__button--arrow {
  display: none;
}
1 Like

Hi David,

We’ve fixed this issue in Bricks 1.8 beta 3, now available as a manual download in your account.

Please let us know if you are still experiencing issues.

As with any beta release, please do not use it on any production/live website. It is only meant for testing in a local/staging environment.