Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1284860

    I want to come back to this thread again:
    https://kriesi.at/support/topic/overlay-above-the-content-while-the-cookies-not-accepted/
    Unfortunately, the overlay is still above the content when users save individual cookie settings. Can the following script be adapted so that the overlay disappears if individual cookie settings are saved?

    #1285477

    UPDATE: The overlay ist also visible in Popups /Lightbox. E.g. For links open a lightbox with …./?iframe=true
    Unfortunately, this makes the beautiful overlay function unusable. Can that be adjusted please?
    Here again the current status:

    function ava_custom_privacy_overlay(){

    	?>
    	<script>
    	(function($) {
    		$(document).ready(function() {
    			var consent = $(".avia-cookie-consent");
    			if(!consent.is(".cookiebar-hidden")) {
    				$("<div class='cookie-overlay-mod'></div>").appendTo("#wrap_all");
    			}
                             $(".avia-cookie-select-all, .avia-cookie-info-btn").on("click", function() {
                                    $(".cookie-overlay-mod").remove();
                            });
    		});
    	})(jQuery);
    	</script>
    	<?php
    }
    add_action('wp_footer', 'ava_custom_privacy_overlay', 99);
    • This reply was modified 3 years, 9 months ago by frankeee.
    #1286215

    can I still count on an answer here? I asked my question 5 days ago.

    #1287085

    Hi,

    Thanks for contacting us and sorry for the late reply.

    Are you having the issue on the same site? If so, could you please create temporary admin logins and post them here privately so we can look into it? I was not able to view your website without logins and old logins did not work.

    Best regards,
    Yigit

    #1287127

    thanks, we will discard this function.
    You can close this thread

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Overlay above the content while the cookies not accepted’ is closed to new replies.