Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
  • #984419


    I need to remove the link on mansonry portfolio items. I can’t see this option in the element configurations insteed of the portfolio grid.
    How can i do this please ? using css ?




    Hey plichart1,
    If I understand correctly, you would like to remove the link from the masonry portfolio gallery, so clicking the images does nothing.
    Please try editing the masonry gallery element and go to the “Image Link” option and choose “Lightbox linking deactivated. (Custom links will still be used)”

    Best regards,


    I can’t find the “image link” option. please see capture :


    Sorry I thought you were using the “masonry gallery” element, to make the masonry items not clickable please try this code in the General Styling > Quick CSS field:

    .av-masonry-entry {
        pointer-events: none !important; 

    Do you want this to effect only one page? If so please link to the page so we can determine the page ID.

    Best regards,


    Adding this css, i also lose the hover effect. I need to keep this hover effect, with title and exerp. I just need the link to be empty,


    Ok, will this be for one page or all of the masonry on the site? Please include a link to your masonry page in the Private Content area.

    Best regards,


    One page or even all mansonry, cause we only use this on one page.

    The website is under maintenance mode.
    here the link :
    You can connect by clicking the padlock on the right with theses informations (private content)


    any idea ?


    I added this code to the end of your functions.php file in Appearance > Editor:

    function remove_masonry_link(){
        jQuery(' a.av-masonry-entry').removeAttr('href');
      add_action('wp_footer', 'remove_masonry_link');

    which has removed the link for the masonry items for that one page, but has kept the hover action.
    Please clear your browser cache and check.

    Best regards,


    Thanks a lot !!


    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,

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

The topic ‘Portfolio masonry : remove link’ is closed to new replies.