Custom Image Gallery with revolving Lightbox

Using the query builder, I created a custom gallery (I needed a button overlaying the image). I enabled “lightbox” for the image, but when the lightbox opens, I can’t switch between the images without closing lightbox down and selecting another. If I use brick’s built in gallery, it provides this behavior.

Any ideas on how to get this working? here is a link for reference: Gallery Test – wordpress-629428-2762798.cloudwaysapps.com

Hi,

Here’s a workaround:

Use Image Gallery element and add this in its custom CSS:

root .bricks-layout-item::after {
	content: '';
	width: 40px;
	height: 40px;
	background: var(--bricks-color-primary) url('https://api.iconify.design/ion/hammer.svg?width=18') no-repeat center center / 16px;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

Source: hammer • IonIcons • Iconify

Hey Sridhar, sorry for the late reply. Thank you very much for this, I didn’t think this was possible till now.