Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1318997

    The theme setting “lightbox modal window” is causing buttons that are set to open in a new window to open in a lightbox when a PDF is the link. There is a certain page where I want the action to open in a new window, but on other pages, the lightbox needs to be activated for viewing images.

    Please advise how to force buttons to open in a new window when the theme setting “lightbox modal window” is activated.

    • This topic was modified 3 years, 3 months ago by leahmessina. Reason: change title
    #1319016

    did those pdf links realy open in a lightbox ?

    on /js/avia-snippet-lightbox.js you find that exclude instruction:
    exclude : '.noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*="dropbox.com"]'

    so give to one of the parents a custom-class : noLightbox

    • This reply was modified 3 years, 3 months ago by Guenni007.
    #1319019

    adding the class nolightbox worked like a charm. Case closed.

    • This reply was modified 3 years, 3 months ago by leahmessina. Reason: spelling error
    #1319036

    but be carefull – this is casesensitive so noLightbox – not nolightbox.
    But if it works – i guess you used the right writing.

    #1319300

    Hi leahmessina,

    Great, I’m glad that you got things working, and thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Thanks @guenni007 for helping out :-)

    Best regards,
    Rikard

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.