PDF embed by Joe , Having a problem


(gary pullings) #1

@joeworkman or any one else

I am currently using this stack here
http://www.fresnoflyfishers.org/Jerrys_Bench/Tools/page2/Tools.html

How can you get rid of the mile long page between pdf’s?

I can’t seem to shrink it no matter what I do.


(Stuart) #2

For some reason there is a 500% padding-top between instances of the stack. No idea why. You can override it for something more reasonable with this CSS in the page level CSS container:

.fluid-width-video-wrapper {
    padding-top: 100% !important;
}

That gets it all looking about right for me on desktop Chrome, but you may want to play around with it a bit/experiment or maybe someone else will have a better answer.


(gary pullings) #3

@kryten

I have never done CSS before. is that exactly how I type it in? And how would I type it in?


(Stuart) #4

Not asking you to do CSS, I’ve provided that part. You just need to copy it then paste it into the CSS container for that page.

Please don’t even attempt to type it in. Copy it then paste it.

Copy the snippet. In your project look in the page inspector (yes, the page that has the pdf’s on it). Click on Inspector then the HTML icon then you will see a CSS container box. Paste the snippet in there. Then preview. Done.


(gary pullings) #5

@kryten

It’s working now. Thanks. Just having issues with Stacks now. lol…


(Joe Workman) #6

The theme is adding that fluid-video-wrapper to the PDF fro some reason. You may want to contact the theme dev so that they can make that work better.


(gary pullings) #7

@willwood

I am using your theme Wilderness with this. Just wanted to let you know.


(Robert Ziebol 🖖🏼) #8

It would probably be more beneficial for the developer to contact him directly
https://stacks4stacks.com/contact/


(Pedro Perdomo M.) #9

Hi Gary,
Will has a free Embed Stack https://stacks4stacks.com/embed/
It works fine on Wilderness

Best


(gary pullings) #10

Ok well thanks guys, at least @joeworkman and @willwood know which theme I am using now.