Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #571351

    When using portfolio grid ajax I would like to disable the link of the images.
    I have disabled the lightbox with
    #top .portfolio-preview-image .avia-gallery .avia-gallery-big {
    pointer-events: none !important;
    }

    but an image still pops up in a browser window
    http://avantidisplay.co.uk/new-image-archive/

    Can you advise
    Thanks

    #571796

    Hey Avantidisplay!

    Hmm, since it gets added via AJAX it might have issues. Does it do the same when you add this?

    .avia-gallery-thumb a {
        pointer-events: none !important;
    }

    Cheers!
    Elliott

    #572039

    Hi Elliot
    Thanks for replying, added the code but it has not changed the popup appearing

    Any thoughts ?

    Cheers
    Julian

    • This reply was modified 8 years, 10 months ago by Avantidisplay.
    #573300

    Hi!

    Try this one:

    .grid-entry a.grid-image {
        pointer-events: none;
    }

    Place it at the very start of Quick CSS.

    Regards,
    Josue

    #573669

    Hi Josue
    I tried this and its not working, I have notice that if you click on any image it now pops up a basic browser full-size display

    Cheers
    Julian

    #573673

    Hi Julian,

    Can you post a screenshot of that? what browser are you using?

    Regards,
    Josue

    #573701

    Hi Josue
    Safari
    Sorry in firefox it has a black background with no way of closing
    http://avantidisplay.co.uk/Safari.png

    http://avantidisplay.co.uk/firefox.png

    Cheers
    Julian

    #573707

    Hi!

    Please try adding following code to Quick CSS as well

    #top #wrap_all .ajax_slide .avia-gallery-thumb a {
        pointer-events: none;
    }

    Regards,
    Yigit

    #573872

    The thumbnails are now inactive with :
    #top #wrap_all .ajax_slide .avia-gallery-thumb a {
    pointer-events: none;
    }
    Cheers
    Julian

    #573887

    Hi!

    Which was the goal if i understood you clearly, is that correct? :)
    If so, shall we mark the thread as resolved?

    Regards,
    Yigit

    #573905

    Sorry… but not quite!
    The thumbnails don’t work at all,they should on hover, open the larger image in the ajax gallery, also if the image is a single item not a gallery it still opens a pop up

    Cheers
    Julian

    #574595

    Any chance of resolving this ?

    Julian

    #575597

    Hey!

    Please remove the css code then add this in the functions.php file:

    add_action( 'avf_portfolio_preview_template_params', 'avf_portfolio_preview_template_params_mod', 10, 2 );
    function avf_portfolio_preview_template_params_mod($params, $entry) {
    	if($params['method'] == 'gallery') {
    		 $params['imagelink'] = 'avianolink noLightbox';
    	}
    	return $params;
    }

    This will disable the lightbox and the image link.

    Regards,
    Ismael

    #580417

    Thumbnails are still disabled on hover and raw image pops up in browser
    I removed all this css

    #top .portfolio-preview-image .avia-gallery .avia-gallery-big {
    pointer-events: none !important;
    }

    .portfolio_preview_container {
    box-shadow: 0px 0px 7px 7px #000000;
    clear: both;
    display: none;
    margin-bottom: 35px;
    margin-top: 15px;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 100%;
    }

    Cheers
    Julian

    #581215

    Any chance of resolving this ? Please!

    Julian

    #582889

    Hey!

    I checked the site and the css pointer-events is still there:

    #top .portfolio-preview-image .avia-gallery .avia-gallery-big {
        pointer-events: none !important;
    }
    

    Please remove it or post the login details here so that we can check it.

    Best regards,
    Ismael

    #583394

    Sorry missed that ..its now removed

    Cheers
    Julian

    #583399

    Login details
    UN: crayfish
    PW: P1at!6u55*

    J

    #583540

    Also just removed
    #top #wrap_all .ajax_slide .avia-gallery-thumb a {
    pointer-events: none;
    }

    The portfolio is now working almost correctly …only on setting: Display Preview Images
    if you choose the ‘image list’ option it still pops up a raw image

    Thanks Julian

    #585208

    Hey!

    The modification above will only work for the gallery style. https://kriesi.at/support/topic/when-using-portfolio-grid-ajax-i-would-like-to-disable-the-link-of-the-images/#post-575597

    Please contact codeable for further modifications: http://kriesi.at/contact/customization

    Cheers!
    Ismael

    #615118

    what about just doing this:
    .portfolio-preview-title a {pointer-events:none;}

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘When using portfolio grid ajax I would like to disable the link of the images.’ is closed to new replies.