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>
Solved! Go to Solution.
I've highlighted what can be added to the html template part of the code, in order to close the lightbox based on "Close" button click instead of background click. Note: the original "No Thanks" button is also removed
I've highlighted what can be added to the html template part of the code, in order to close the lightbox based on "Close" button click instead of background click. Note: the original "No Thanks" button is also removed