Okay
  Public Ticket #2619493
Can I enable lightbox in Carousel mode?
Closed

Comments

  •  1
    Atticus_Wolf started the conversation

    Hi, 

    I'm just building my client's portfolio right now, and I really like the Carousel setting in the Portfolio section. However I noticed that the lightbox seems to launch in every other portfolio mode, except for Carousel. 

    ....which of course is the one I'm looking to use. But I wanted to ensure the lightbox would/could launch.

    Is there a way?

    Is there any reason lightbox doesn't work in carousel mode?

    Cheers,
    |Anthony

  • [deleted] replied

    Hi Anthony,

    In order to add this functionality please add the following code in functions.php:

    add_filter( 'kalium_portfolio_type_carousel_enable_lightbox', '__return_true' );
    This hook is not yet supported in our theme so please replace one file in your site:

    Download this file and replace it in this directory (of the theme): /kalium/tpls/

    This will be included in the future updates of the theme and it won't break that functionality.

  •  1
    Atticus_Wolf replied

    Awesome - that works!

    Very much appreciated. 

    Anthony

  •  2
    nicosea replied

    Hi,

    It did work for me before, but I have just updated the theme and it does not work anymore. I understood that 3.3 version should have this feature implemented by default.

    Do I need to replace the portfolio-gallery-slider.php agin with one posted before and add the extra instruction in function?

    Edit: it works again :-)

  • [deleted] replied

    Happy to hear thatsmile.png

    Will mark this ticket as solved from here.