Support » Plugin: PDF.js Viewer » Max width to fit in sidebar

  • Hello,

    First of all: great plugin!
    I’m using the plugin for displaying some product info in the sidebar.

    But the pdf embedder has a width of 320px, so there is always a horizontal scrollbar at the bottom and the topright button also isn’t visible (unless you scroll to the right.)

    Is there some extra CSS to change the width, so it always fits into the sidebar area without any scrollbars?
    Or is there another solution?

    I’m building a website for the first time (for my fathers shop), so this is all new to me.

    thx in advance,


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

Viewing 1 replies (of 1 total)
  • Plugin Author Thomas McMahon


    I’m not sure how readable things are going to be if it’s less than 320px. Additionally, the minimum width is coming from Mozilla’s source and I’m not sure we can overwrite it.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.