I’m trying to open a Pagelit modal from an image thumbnail but having some trouble getting it to display.
I’ve tried it using TopBox and FancyViewer but it doesn’t want to play ball.
Has anyone ever tried this themselves?
If you click on the Grazia logo at https://richardnicholls.net/press/ it opens, but only as a small modal window.
If you resize the browser it opens up to the correct size though, which is odd.
Any ideas?
I’ll need content below it too though.
Maybe I can, if I play around with the z index but it’s not ideal.
I’ll have a fiddle. Unless @1LDskyler has a trick up their sleeve?
Dang it!
It must have been picking something up from my cache, it’s not displaying correctly after all.
I’ve tried it using Foundation to see if it was the theme, but still it’s not playing well.
Correct me if i’m wrong, but it looks like you may have found a working solution. If not let me know and I can see if I can come up with a workaround of somekind.
Thanks Jeremy
I’ve tried it in Chrome, Firefox and Safari with a few different modal stacks and it seems to be displaying a small thumbnail which only enlarges if you alter the window size whilst it’s open.
The same on an iPhone. It displays small until you rotate the device to landscape and then shows fine when back to portrait.
Are you able to replicate the effect though?
Nice site Frank, lovely!
I need Pagelit to launch from the link in separate image though.
Not sure how to do it as it seems to open in a small modal window in all the lightbox stacks I have.
We have a pre-release update for you to try out. The update helps the stack identify when it has been opened inside of a 3rd-party popup/hide/show stack. That way it can adjust its size accordingly.