Articles on: FAQ

FAQ: How to create “Don’t show again” button

Question:


I want to have a “Don’t show again” button for my Popup to hide it from the users that once see it.


Answer:



You can add the following CSS class to your CTA (Call to action) button to close the Popup for your specified time period:
sg-popup-dont-show-30 “30” in the code is the number of days for cookie saving.
You can change it to whatever you wish.
<button class="sg-popup-dont-show-30">Close Popup and Don’t Show for 30 days</button>

Updated on: 16/06/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!