Support » Theme: Virtue » Deactivating Lightbox for each page

  • Resolved redrussianarmy

    (@hakanbogan)


    Hello,

    I want to ask something. I am using “Huge IT Portfolio” plugin for variety of portfolio.

    This portfolio has own special tool to display pictures. Your theme also has Ligtbox. When I use this plugin, 2 displaying tools appear.

    I know how to make deactive Lightbox for whole website. However It would be better If I would deactivate Lightbox feature for some pages (for 1 or 2 pages)

    Is it possible to do this thing ?

    Thank you in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • There aren’t any options for using the theme lightbox in just some areas, just deactivating it across the site. It’s better to use either the plugin or the theme.

    Someone may have a solution, but I’m not aware of it at the moment.

    One option that isn’t pretty but you could do it would be to add this js into the 1 or 2 pages where you don’t want the lightbox just add in the text tab.

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

    Kadence Themes

    Thread Starter redrussianarmy

    (@hakanbogan)

    Thank you guys. I tried for few minutes. It seems okay. We will see.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deactivating Lightbox for each page’ is closed to new replies.