- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Easy Fancybox is one of my favorite plugins for opening PDF documents in a fancybox.
https://wordpress.org/plugins/easy-fancybox/
My theme this time around has a conflict with the CSS somehow.
Link to site page in dev: http://goo.gl/n9llBN
Need to find the CSS to make those Easy Fancybox pdf’s appear at 100% height or 800px or something bigger than 165px?
Click one of the division links beneath the embedded document.
And it opens in a lightbox, but the file only shows about 165px height.
A suggested fix for someone else’s site from the Easy Fancybox plugin author showed this css code:
A quick fix without messing things up would be: Edit the themes grid.css and change
img, object, embed { max-width: 100%; height: auto; }
to
#wrapper img, #wrapper object, #wrapper embed { max-width: 100%; height: auto; }
But I can’t seem to adapt that code, if it’s even any help to my theme, this was from someone else’s thread that the author helped out with.
thanks for any suggestions.
Ok, I was just being daft, all I had to do was kill the css in the theme that tells embed to be height auto, duoh!
I was adding other applicable embed code for a specific ID embed, but was not killing the original embed code css in my themes stylesheet.
Fixed the issue, now I need to clean up the code I junked up.
Hate that…
Thanks anyways.