Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
889 views
in Plugins by
Is there a plugin to zoom the image?
Q2A version: 1.8.1

1 Answer

+2 votes
by
by
you could add transform: scale(2); to the css.
In this line https://github.com/q2apro/q2apro-lightbox-images/blob/master/script.js#L18 change img#lightbox-img { padding:25px; background:#FFF } to img#lightbox-img { padding:25px; background:#FFF; transform: scale(2); }
by
Thank you for answer,

I tried it, it worked on the classic theme but it didn't work on the theme I used (dude theme), how can I find the source of the problem?
by
First in Dude theme, you can check if such Css elements exist. You can view your site normally with Desktop Google Chrome or Firefox and inspect the image elements.

If such elements exist in Dude theme's CSS files, you need to adjust so those elements in CSS files and JS files don't overlap.
by
I have reviewed the css and js files, but there is no such item, what else can it be?

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...