Setting Multiple Options to Close the Top Bar
To set multiple options to close the WooCommerce Cookie Consent Top Bar, follow these steps:
Access Plugin Settings:
Go to your WordPress Admin Panel.
In your WordPress dashboard, locate the “Cookie Consent” option and click on “Basic Settings.”
Choose How to Close the Cookie Popup:
In the Basic Settings section, you will find the “How to Close Popup” option. This is where you can define how users can close the cookie popup notification. You have three options to choose from:
- On Click: With this option, users can close the popup by clicking anywhere outside the notification. This allows users to dismiss the notification by clicking anywhere on the page.
- On Scroll: If you select this option, the popup will automatically close when the user scrolls the page. Users don’t need to take any specific action; the act of scrolling will close the notification.
- Timed: For this option, you can set a duration in seconds for the popup to automatically close. The popup will disappear after the specified time has passed.
Save Changes:
After choosing one or more of these options, save the changes within the plugin settings.
By following these steps, you can configure the WooCommerce Cookie Consent Top Bar to allow users to close the popup notification using multiple options: by clicking anywhere outside the notification, by scrolling, or automatically after a specified time duration. This gives users flexibility in how they interact with the cookie consent notification.