Image full screen zoom on click
-
Hey,
I'm trying to run this plugin (full screen image zoom) with Lay Theme. It works fine with the default WP theme, but sadly not with Lay.
In order to run it, you have to add a class to the image. I've added the class in the gridder, but it doesn't work.
Do you have an idea, what the problem could be? Would be amazing!
Thanks a lot!Best,
L -
Hi @lm
it is possible that it does not work because LayTheme is coded as a single-javascript application.
Have a look here:
http://laytheme.com/documentation.html#custom-javascriptAlso you cannot use custom PHP templates.
Maybe you can change the code in the jQuery of the Plugin that it runs on Laytheme?
http://laytheme.com/documentation.html#custom-javascriptAll the best :-D
Marius
-
Hi @mariusjopen
thanks for your answer. I think the main problem could be, that the class isn't visible in the html of the site, even though I've added it in the gridder.
Do you maybe know a solution for this?
Best,
L -
Hi @lm
it is difficult to judge without seeing it.
Can you install it on a page and show us the example?
All the best and a happy new year!
Marius
-
Hey @mariusjopen
Here you can see an example page.
The plugin is installed and the images have the right class, added via right-click in the gridder.Many thanks!
Best
L -
Hi @lm
you did not add a class to the image yet. Only to the box around it.Maybe you need to adjust the code in the plugin to recognize the class around the image?
Is there a page where I can see the plugin running?
All the best!
Marius
-
Hey @mariusjopen
thanks for your answer!I've already tried to add the image with the class via HTML to the Gridder. In the code, the image has the right class, but it still does not work…
Here you can see the plugin running.
Many thanks!
Best
L -
Hi @lm
probably the plugin uses not the LayTheme jQuery language (which is working for single pages):
http://laytheme.com/documentation.html#custom-javascriptI once coded that effect myself for the artist Sebastian Haslauer:
http://sebastianhaslauer.com/You can dig in that code and copy and paste it from there if that helps you.
Sorry the plugin does not run on LayTheme.
All the best!
Marius
-
@mariusjopen Hello, Does this code work on lightbox imagex?
thanks! -
Dear @cherylsinner
I think not. This code from the Haslauer website is pretty freestyle.
Best!Marius
Before you post
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it