Magnific Popup mobile css


I just share you this little mfp css correction for mobile specially on gallery view. So with this css only the image will scroll the other things arrows, close and title will be fixed also when zoom in and scrolling.

Place this code to the mobile css section
I updated this code

@media (max-width: 900px) {
  .mfp-container {
    position: fixed;
    overflow: auto;
  .mfp-force-scrollbars {
    .mfp-figure {
      overflow: auto;
1 Like

Good catch

I made a small change in core based on that.

Thanks for reporting the issue and the fix @dodesz :+1: