Title: Custom lightbox effect
Last modified: February 25, 2020

---

# Custom lightbox effect

 *  Resolved [Rafał](https://wordpress.org/support/users/ayek/)
 * (@ayek)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-lightbox-effect/)
 * Hi!
    How to disable built-in lightbox – Magnific Popup – and dequeue all its 
   assets (JS and CSS files)?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Estatik](https://wordpress.org/support/users/estatik/)
 * (@estatik)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-lightbox-effect/#post-12486511)
 * Hi Ayek,
    You can use wp_deregister_script and wp_denqueue_script functions to
   disable it. Thanks.
 *  Thread Starter [Rafał](https://wordpress.org/support/users/ayek/)
 * (@ayek)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-lightbox-effect/#post-12486536)
 * OK, but what is the **handle** of Magnific Popup?
 *  Plugin Author [Estatik](https://wordpress.org/support/users/estatik/)
 * (@estatik)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-lightbox-effect/#post-12486573)
 * Hi, here they are: es-magnific-style, es-magnific-script
 *  Thread Starter [Rafał](https://wordpress.org/support/users/ayek/)
 * (@ayek)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-lightbox-effect/#post-12486621)
 * Without these assets the layout is totally broken. Even disabling only `es-magnific-
   script` (not CSS) affects the image showcase section.
    Any idea how to use my
   favorite [Lightbox with PhotoSwipe](https://wordpress.org/plugins/lightbox-photoswipe/),
   which would serve for all other images in website as well?
 *  Plugin Author [Estatik](https://wordpress.org/support/users/estatik/)
 * (@estatik)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-lightbox-effect/#post-12533001)
 * Hi Ayek,
    We can offer only customization service as there is a lot of work to
   explain and to do. You can contact us [here](https://estatik.net/contact-us/)
   if you are interested in customization service. Thanks
 *  Thread Starter [Rafał](https://wordpress.org/support/users/ayek/)
 * (@ayek)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/custom-lightbox-effect/#post-12533674)
 * It’s a pity that the Magnific Popup is so tightly tied in Estatik’s system. Because
   of it becomes an obstacle.
    Let the issue be an inducement for future big update
   of Estatik – in the spirit of MVC. Let separate modules may be deactivated without
   any obstruction or burden.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Custom lightbox effect’ is closed to new replies.

 * ![](https://ps.w.org/estatik/assets/icon-256x256.png?rev=2819514)
 * [Estatik Real Estate Plugin](https://wordpress.org/plugins/estatik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/estatik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/estatik/)
 * [Active Topics](https://wordpress.org/support/plugin/estatik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/estatik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/estatik/reviews/)

## Tags

 * [magnific](https://wordpress.org/support/topic-tag/magnific/)
 * [popup](https://wordpress.org/support/topic-tag/popup/)

 * 6 replies
 * 2 participants
 * Last reply from: [Rafał](https://wordpress.org/support/users/ayek/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/custom-lightbox-effect/#post-12533674)
 * Status: resolved