Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17446

    Hi Guys,

    I want to disable any image overlays when I click or hover on an image. I have the following code added to my CSS but when I click on the image in the sidebar on the page below, the PrettyPhoto lightbox shows up. How can I get rid of that please?

    Here is the code that I’ve added to the CSS:

    .lightbox_video, .lightbox_image, .image_overlay_effect, .image_overlay_effect_inside {

    opacity: 0!important;

    }

    Link: http://psblog.staging.wpengine.com/overcoming-content/

    Thanks,

    Peter

    #95497

    Hi,

    If you want to disable prettyPhoto, open js > avia.js and find this code

    //activates the prettyphoto lightbox
    if(jQuery.fn.avia_activate_lightbox)
    jQuery('body').avia_activate_lightbox();

    Replace it with

    //activates the prettyphoto lightbox
    //if(jQuery.fn.avia_activate_lightbox)
    //jQuery('body').avia_activate_lightbox();

    Regards,

    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Disabling Image Overlay and Pretty Photo’ is closed to new replies.