Tagged: Magnific popup
-
AuthorPosts
-
February 10, 2021 at 12:30 am #1279274
Hello Team,
Have recently noticed that Code Block containing Magnific Popup has stopped working.
Running Enfold 4.7.6.4, WP version 5.6.1 and PHP version 7.4.14Code Block:
<div id="more-info" class="gallery-more-info mfp-hide">
Enfold Child:
/* Lightbox styling */ button.mfp-arrow, .mfp-close{ background-color: rgba(100,100,100,0.8) !important; } .avia-popup{ background: white; opacity:1 !important; } button.mfp-arrow{ width: 50px; height: 70px; } /* Fixing x button position */ .mfp-zoom-in .mfp-figure, .mfp-zoom-in .mfp-iframe-holder .mfp-iframe-scaler{ -webkit-transform: none !important; transform: none !important; } button.mfp-close{ position:fixed; top:30px !important; right:30px !important; } /* More info lightbox */ #more-info { max-width: 800px; margin: 0 auto; padding: 30px; background: white; } #more-info div{ margin:20px 0; } #more-info button.mfp-close{ position: absolute; top: 0px !important; right: -50px !important; background-color:white !important; } .mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { width: initial; max-width: 1024px; margin: 60px; }
functions,php:
function gallery_more_info(){ ?> <script> jQuery(window).load(function(){ jQuery('.gallery-more-info-link').magnificPopup({ type:'inline', midClick: true }); }); </script> <?php } add_action('wp_footer', 'gallery_more_info');
Have installed jQuery Migrate Helper plugin but that is not helpful either.
Please advise,
ofekw
February 10, 2021 at 5:56 pm #1279566Hey ofekw,
Can you disable caching and minification for now?
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaFebruary 10, 2021 at 9:06 pm #1279607Hi Victoria,
This issue somehow resolved.
Thanks,
ofekwFebruary 11, 2021 at 8:57 am #1279671Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Magnific Popup stopped’ is closed to new replies.