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

Avatar

Level 1

Hi,

 

I am trying to create a pop up using lightbox template code provided in this link : https://github.com/Adobe-Marketing-Cloud/target-experience-templates/tree/master/lightbox

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>
</button>

 

 

 

0 Replies