Okay
  Public Ticket #2230785
Configure or disable Magnific Popup
Closed

Comments

  • riczito started the conversation

    Hi guys,

    I am trying to improve the situation on the above site, whereby when you are on one of the Project pages (click on any of the Minis in the gallery on the homepage), and you click on an image, Magnific Popup generates a lightbox where the "close-up" image is actually smaller than the one you just clicked on! I would either like to try to make the lightbox image bigger, maybe even truly fullscreen, or simply disable Magnific Popup altogether.

    Can you advise on the best way of doing either of these solutions?

    Many thanks, Ric

  •  675
    Neuron replied

    Hi Ric,

    I am very sorry for the late reply, we were not working on the weekend.

    I will list the two options, you can change the height of the image.

    1) Change the height.

    img.mfp-img {
        max-height: 100vh !important;
    }

    2) Disable the lightbox.

    .p-portfolio-single .p-portfolio-gallery .p-portfolio-gallery__item a {
        pointer-events: none !important;
    }

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • riczito replied

    Fantastic! I disabled the lightbox actually. The images are quite big already. Not much point in zooming further.

    Thanks once again for your stellar service! You guys rock!

    Ric

  •  675
    Neuron replied

    Hi,

    Yea, since you're using full width images, that makes more sensesmile.png

    Glad to hear, feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.