Home Forums Porto Template Magnific Popup not working

This topic contains 1 reply, has 2 voices, and was last updated by  Support2 3 months ago. This post has been viewed 155 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10026930

    tcguide
    Participant

    Hello,

    I can’t get the image pop up to work on this site/page:
    https://fortmyerslandscapes.com/plant-guide.html
    I’ve checked code validation at W3C and code all valid.
    The CSS/JS all seem to be there and paths correct.

    I can’t see what I’m missing.

    Can you help?


    #10026939

    Support2
    Keymaster

    Hello,

    We saw that you are using an older version of Porto, and this is the reason of the issue.
    On your current version (5.1.0) you need use “double-quotes” on “data-plugin-options”. Try replacing all data-plugin-options from:

    <ul class="image-gallery sort-destination lightbox" data-sort-id="portfolio" data-plugin-options="{'delegate': 'a.lightbox-portfolio', 'type': 'image', 'gallery': {'enabled': true}}">

    to:

    <ul class="image-gallery sort-destination lightbox" data-sort-id="portfolio" data-plugin-options='{"delegate": "a.lightbox-portfolio", "type": "image", "gallery": {"enabled": true}}'>

    Note the single and double quotes.

    Please, try that and let me know if you need further assistance.

    Kind Regards,

    Rodrigo.


Viewing 2 posts - 1 through 2 (of 2 total)