This topic has 3 replies, 3 voices, and was last updated 11 months ago ago by Andrew Mitchell
when i close cookies using close button, popup keeps appearing, how i remove that behavior?
i dont want to use the submit button, instead just the close button
thank you
Dear Mr. Jimenez,
We hope this message finds you well.
We kindly request that you insert the following script into the functions.php file located within your child theme directory. This code is intended to enhance the functionality of your website:
add_action('wp_footer', 'n2t_wp_footer');
function n2t_wp_footer(){
?>
<script>
jQuery( function($){
$(document).on('click', '.et-cookies-popup-wrapper .close', function (){
etConfig.et_global.is_customize_preview || etTheme.setCookie("etheme_cookies", "false", etConfig.etCookies.cache_time), e.addClass("removing"), setTimeout(function() {
e.remove()
}, 700)
});
});
</script>
<?php
}
Please ensure that the code is implemented correctly to avoid any potential issues. Should you require any assistance or have any questions regarding this process, please do not hesitate to reach out.
Thank you for your attention to this matter.
Best Regards,
The 8Theme Team
Dear ljimenez,
We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!
Click here to spread the love: https://themeforest.net/downloads
Thank you for being an integral part of our journey!
Best Regards,
The 8Theme Team
The issue related to '‘when i close cookies using close button, popup keeps appearing’' has been successfully resolved, and the topic is now closed for further responses