Is a way to blur colorbox overlay?

Created on 12 June 2021, about 3 years ago
Updated 8 March 2024, 4 months ago

Is a way to blur colorbox overlay?

I try to add css:

#cboxOverlay {
  backdrop-filter: blur(10px);
}

but it's not work in Firefox.

So i add script:

(function($) {
    Drupal.behaviors.mytheme1Behavior = {
        attach: function(context, settings) {

            $.colorbox({
                onComplete: function() {
                    $("body").addClass("blured");
                },

                onCleanup: function() {
                    $("body").removeClass("blured");
                }
            });

        }
    };
})(jQuery, Drupal);

yes, this script works, but I see colorbox glitch on every page load :(

Mb i do something wrong?

πŸ’¬ Support request
Status

Closed: works as designed

Version

2.15

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡¦Ukraine VasyOK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024