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

    Hello,

    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 ?

    Regards,

    Nicolas

    #984439

    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,
    Mike

    #984518

    Hey,
    I can’t find the “image link” option. please see capture : https://ibb.co/fZnSz8

    #984736

    Hi,
    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,
    Mike

    #984869

    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,

    #984930

    Hi,
    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,
    Mike

    #984951

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

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

    #985284

    any idea ?

    #985356

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

    function remove_masonry_link(){
      ?>
      <script>
        jQuery(window).load(function(){
        jQuery('#top.page-id-3351 a.av-masonry-entry').removeAttr('href');
        });
      </script>
      <?php
      }
      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,
    Mike

    #985415

    Thanks a lot !!

    #985486

    Hi,
    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,
    Mike

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

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