Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1144468

    Hello,
    I have a Image und this has a manual link to e pdf-File (https://…..pdf). The PDF File is opened in a Fancybox, which has a display problem on iphones, so I just want to open it in a new tab. How can I disable the lightbox in this case. class=”nolightbox” doesn’t work, because the avia-image generates the a-Tag by itself and I cannot influence this.

    Kind Regards,
    Franz

    #1144472

    please try : noLightbox – it seems to be case-sensitive.
    And on ALB options you have choosen: Open new tab/window : Open in new window

    and by the way – all my pdf open in new tab – without doing anything on special settings. This is on my opinion the standard behavior – so don’t know why on your settings the pdf opens in the lightbox.

    #1144488

    Yes, I ‘ve chosen: Open new Window in the link option in image settings dialog. The Button Element has the same link settings and opens the pdf in a new tab, but the image element in the lightbox. The noLightBox class will be inserted in the div-element, not in die a-tag, when I add an optional css code in image element.

    #1144514

    the class comes to the image ALB.
    PS What button – show me please the link to the concerning Element.

    #1144546

    What do you mean with ALB?

    There are two Elements for Downloading the PDF on this site, a button and an image, which shows the first page of the folder as thumbnail. That’s all…

    #1144560

    how did you insert the image?
    You are in the Advanced Layout Builder ( ALB ) and drag and drop to your layout the image ALB?

    • This reply was modified 5 years, 7 months ago by Guenni007.
    #1144575

    Yes.

    The best solution would be if you could specify the link:
    – Open in same Window
    – Open in new Window OR
    – Open in Lightbox

    But last is not possible.

    Can anyone help?

    • This reply was modified 5 years, 7 months ago by opalion.
    #1145592

    Hi,
    Sorry for the late reply,
    Please link to the page in the Private Content area so we can take a closer look.

    Best regards,
    Mike

    #1146169

    Hello,

    here is the Link to a Testpage. The Images always open a Lightbox. They have a manual Link to a PDF (https://……pdf). It’s the same, if you choose “new Window” or “same Window”. If you do the same by the button element, it opens a new tab and this were the prefered action.

    Best regards,
    Franz

    #1146356

    Hi,
    Thank you for the test page, I see that the Enfold defaults are being overridden by a plugin “fancyboxforwp” I tried to change this with some javascript but could not. I found on my fresh install that the image links to a pdf will open in a “new window” if the setting in the image element is used, so the error is with the plugin. Please disable the plugin or ask the plugin author if there is an option to disable on a case-by-case basis.

    Best regards,
    Mike

    #1146650

    Thank you very much Mike :-), we disabled this plugin and now we have the desired action.

    Best regards,
    Franz

    #1146651

    Hi,

    Did you need additional help or shall we close this topic?

    Best regards,
    Jordan Shannon

    #1330172

    Hi,

    I have the same problem in version 4.8.7.1. I want to open an image in a new tab/window. However, it always opens in the lightbox. How can I change this?

    Thanks
    Stefan

    #1330238

    Hi Stefan,

    Please open a new thread and include WordPress admin login details in private, so that we can have a closer look at your site. Also please point out the image in question on your actual site.

    Best regards,
    Rikard

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