Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Close button on pop up in Target Activity


Level 1



I am trying to create a pop up using lightbox template code provided in this link :

I have been able to do required customizations i.e. apply CSS , change text however, i need a close button to be present at top right corner instead of closing on background click. I tried many things but none of that seem to work. Can anyone please help? I am trying to create a button with class="close" and id=att_lightbox_close but it's not working.

<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">×</span>




0 Replies