• Resolved jordyvanovereem

    (@jordyvanovereem)


    Hello,

    On this page i use the lightbox to open PDF files. Which work great, but not on mobile. It’s not responsive and you see the half of the file in the popup window.

    https://vrijrijden.nl/vrijwaring/ (you can click the 2 links beside the end of the flags in the top)

    Am i doing something wrong with the settings?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author arisoft

    (@arisoft)

    Hello,

    Try to add the following CSS rule to “Custom CSS” parameter on “ARI Fancy Lightbox -> Settings -> Style” page:

    @media (max-width: 799px) {
      body .fancybox-slide--iframe .fancybox-content {
        width: 100%;
        max-width: 100%;
      }
    }
    Thread Starter jordyvanovereem

    (@jordyvanovereem)

    Unfortunately that did not solve the issue.

    I found a fix for https://vrijrijden.nl/vrijwaring/ but at https://rsz.nl/vrijwaring/ it didn’t work.

    Please look for yourself at https://rsz.nl/vrijwaring/ on mobile. It does not fit the screen. At this moment https://vrijrijden.nl/vrijwaring/ does fit.

    Plugin Author arisoft

    (@arisoft)

    PDFJS viewer for PDF documents is used on first site and native PDF viewer (via browser’s add-on) is used on another site. It is not possible to change layout of native viewer. You can choose PDF viewer in plugin settings. See “PDF Files -> Local PDF viewer” option on “ARI Fancy Lightbox -> Settings -> Integration” page.

    Thread Starter jordyvanovereem

    (@jordyvanovereem)

    I don’t understand what you’re saying. On both sites i use the same options, but the way it looks is different on each website.

    Plugin Author arisoft

    (@arisoft)

    The plugin can show PDF documents using two different PDF viewers (PDFJS viewer and browser’s embedded PDF viewer). PDFJS viewer is used on the first site, but embedded PDF viewer is used on the second site.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Problem with responsive PDF on mobile’ is closed to new replies.