-
AuthorPosts
-
July 12, 2018 at 2:42 am #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
July 12, 2018 at 3:44 am #984439Hey 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,
MikeJuly 12, 2018 at 6:41 am #984518Hey,
I can’t find the “image link” option. please see capture : https://ibb.co/fZnSz8July 12, 2018 at 1:38 pm #984736Hi,
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,
MikeJuly 12, 2018 at 7:56 pm #984869Adding 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,
July 13, 2018 at 3:00 am #984930Hi,
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,
MikeJuly 13, 2018 at 5:29 am #984951One 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)July 13, 2018 at 7:30 pm #985284any idea ?
July 14, 2018 at 2:21 am #985356Hi,
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,
MikeJuly 14, 2018 at 7:10 am #985415Thanks a lot !!
July 14, 2018 at 4:12 pm #985486Hi,
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 -
AuthorPosts
- The topic ‘Portfolio masonry : remove link’ is closed to new replies.