hi,
i have on one page two different mansory gallerys an i want to switch of the links for one of the Gallerys. The function in https://kriesi.at/support/topic/portfolio-masonry-remove-link/ work but for both gallerys on my page. it ist possible to catch the correct gallery with a section ID an not the page-id…?
tips from you would be great. with kind regards
Hey ollie08,
Thank you for contacting us.
Please use the section ID in which the masonry gallery is added in the line
jQuery('#top.page-id-3351 a.av-masonry-entry').removeAttr('href');
Best regards,
Vinay
Hi Vinay,
Thank you for your fast answer.
I’m not sure how i have to use the Section-id… the id is wertemasonry
jQuery(‘#top.section-id-wertemasonry a.av-masonry-entry’).removeAttr(‘href’); is not working.
Best regards,
Oliver
Hi Vinay,
did you see my post above?
Best regards,
Oliver
Hi,
Sorry for the delay. Try to replace the line with the following.
jQuery('#top #wertemasonry .av-masonry-entry').removeAttr('href');
Don’t forget to remove the browser prior to checking the page.
Best regards,
Ismael
hi Ismael,
thanks for your reply i have added the Line. i didn’t realize that not the id of the gallery but the section has to be entered. now everything is good. exceptionally good support!
Thank you very mutch
Best regards,
Oliver
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon