Disable lightbox/pretty photo

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15977
    Ianphotosianphotos
    Member

    Hi,

    Can you tell me how to disable the default lightbox plugin?

    I’m trying to use the Envira gallery plugin, but your theme seems to be overriding my envira settings.

    Can you help?

    Cheers – Ian

    #15991
    VeenaVeena
    Moderator

    Pls use the following custom CSS in themeoptions –

    .image-info { display: none !important; }
    
    #15999
    Ianphotosianphotos
    Member

    Ah thanks.

    But that disables the hover on the blog feed photos.

    I think I could just get rid of the round ‘plus’button to the right on the hover. I’ve inspected it in source and its the lightbox link. Which file in the editor can I remove this from, any ideas?

    #16000
    RaghavendraRaghavendra
    Moderator

    I posted the below in ThemeForest comments –

    Pls use the following code in your child theme functions.php file –

    function prettyphoto_dequeue_script() {
       wp_dequeue_script( 'jquery-prettyphoto' );
    }
    add_action( 'wp_print_scripts', 'prettyphoto_dequeue_script', 100 );
    
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.