Disable lightbox/pretty photo

This topic is: not resolved

This topic contains 3 replies, has 3 voices, and was last updated by Raghavendra Raghavendra 3 years, 12 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15977
    Ianphotos
    ianphotos
    Member
    Post count: 17

    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
    Veena
    Veena
    Moderator
    Post count: 8142

    Pls use the following custom CSS in themeoptions –

    .image-info { display: none !important; }
    
    #15999
    Ianphotos
    ianphotos
    Member
    Post count: 17

    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
    Raghavendra
    Raghavendra
    Moderator
    Post count: 4607

    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.