How can I disable the theme's lightbox?

Posted in: Newspaper
Post count: 9

Hi, thanks a lot for the very good Newspaper-Theme. My first problem, I’m unable to solve by myself:

I’d like to disable the Theme’s lightbox. Please have a look at the screen here: http://nrwz.de/ext/screen.jpg

– I’ve installed the Plugin Social Gallery. It shows the image, the user clicks on. That’s allright.
– But in the background, the Theme’s lightbox is active. In the screen I marked the arrows red
– In the Theme Panel I turned GENERAL MODAL IMAGE off. With no effect.
– You can see this live on http://www.nrwz.de/aktuelles/2016-08/mehrere-verletzte-bei-unfall-auf-der-autobahn-a-81/122666

How can I disable the theme’s lightbox?

Thanks a lot for your answer.

Peter

Post count: 9

Got it! Had to disable Magnific Lightbox. With the following code as Custom HTML:

<script type=”text/javascript”>
jQuery(document).ready(function ($) {var magnificPopupEnabled = false;$.extend(true, $.magnificPopup.defaults, {disableOn: function() {return false;}});});
</script>

Post count: 6535

HI

Glad you have managed to find a solution.
Thanks for letting us know and for sharing your solution here.

Post count: 2

@Peter Arnegger – I stumbled upon the same issue you have described above with reference to Social Gallery Plugin. I tried to apply the same code in the custom HTML section within the theme panel. However the issue still remains for me. Was this code applied in another location as well?

  • This reply was modified 9 years by sportskp.
Post count: 14

It is nor working for me. The magnific popup on this theme keeps showing up. They should make a single button to disable this on the theme.

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.