Deactivate Theme's Lightbox (Lightcase)

Home Forums Gillion Theme Deactivate Theme's Lightbox (Lightcase)

Home Forums Gillion Theme Deactivate Theme's Lightbox (Lightcase)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • dimkapsallas.com
    Participant

    Hello There,

     

    Thank you for providing this cool theme. I really like it. But I have one question.

     

    How I can deactivate themes’s lightbox js ?  I like a lot carousel (jetpack’s lightbox plugin). But it seems that theme’s lightbox plugin overrides carousel.

     

    Can you please guide me?

     

    Thank you and Regards,

    Dimitris Kapsallas

    Hi Dimitris,

     

    I hope you are well today and thank you for your question.

     

    You can remove it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    a.post-lightbox {
        display: none;
    }

     

    Best regards,
    Shufflehound team

    dimkapsallas.com
    Participant

    Still there. I have insert an “singleimage” through VC. Even if I select “onClick” Action PrettyPhoto or Link to Large I get the theme’s lightbox and not the jetpack’s.

    I have enable jetpack’s lightbox…. I clean all the caches…. Still nothing…

     

    see below:

    https://dimkapsallas.com/dev/?p=69

    The image with the keyboard should call “on click” jetpack’s carousel and not theme’s Lightbox

     

    Thank you

    It is displayed by Visual composer plugin so could you please try disabling it adding the following code at the end of your gillion child theme functions.php file.

     

    function remove_vc_prettyphoto(){
      wp_dequeue_script( 'prettyphoto' );
      wp_deregister_script( 'prettyphoto' );
      wp_dequeue_style( 'prettyphoto' );
      wp_deregister_style( 'prettyphoto' );
    }
    add_action( 'wp_enqueue_scripts', 'remove_vc_prettyphoto', 9999 );
Viewing 4 posts - 1 through 4 (of 4 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form