> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.popup-builder.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# FAQ: How to close the Popup with a Custom link


# ${color}[#225fec](Question: )

How to close the Popup with a custom link?


# ${color}[#ff8000](Answer: )

You will need to have the following code inside the popup with **sg-popup-close** CSS class attached to the element: 

 <a href="javascript:void(0)" class="sg-popup-close">Click Me to Close popup</a>