Hi,
is there a way to open the link for cookie button additionnal info in a new browser window ?
https://image.noelshack.com/fichiers/2020/03/4/1579187594-capture-d-ecran-2020-01-16-a-16-08-58.png
Best regards,
Stan
Hey sdesign-web,
Try adding this code to the end of your functions.php file in Appearance > Editor:
function cookie_consent_new_window(){
?>
<script>
(function($){
$(document).ready(function(){
$('a.avia-cookie-consent-button-2').attr('target', '_blank');
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'cookie_consent_new_window');
If this doesn’t help please include the url to your site so we can take a closer look at your sectors.
Best regards,
Mike