1 Answers
Hello Susan,
The plugin doesn’t have built-in function to solve your case. However it’s easy to implement with few lines of javascript code:
The plugin doesn’t have built-in function to solve your case. However it’s easy to implement with few lines of javascript code:
(function($) {
$(document).ready(function() {
setTimeout(function() {
$('.js-pdf-light-viewer-toggle-zoom').trigger('click');
}, 500);
});
})(jQuery);
Please place this code inside any javascript file on your page (here is some info about it https://codex.wordpress.org/Using_Javascript if you\’re not familiar with it yet). Or you even can use the plugin similar to https://wordpress.org/plugins/custom-css-js/ and paste the code there.
Please let me know if it will help.
Please login or Register to submit your answer
replied 7 years ago
I posted this 2 months ago! I go no answer?