Hi,
can I delete the link of the gallery overview items to the portfolio page? I am talking about our first gallery, I dont want them to be linked to any pages… Thanks in advance,
Jonna
Hey jonna_gaertner,
When you are adding a gallery you can select for the gallery to link nowhere.
That will do disable any of the links
Best regards,
Basilis
Hi Basilis,
thank you very much for your help, but where can I select that? I cant find it?!
Best
Jonna
Hi,
I’m sorry for the confusion. There is no option for that but you can use the following css code to disable the links.
.av-masonry-entry {
pointer-events: none;
}
Please turn on the custom css class attribute so that you can apply the modification to a specific masonry element.
// http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Best regards,
Ismael
Hi Ismael,
tank you. I wanted to turn on the custom css class attribute, but didn´t understand it. It says: “First Add this line of PHP to your functions.php file so that the custom class field is enabled”.Where can I find the functions.php file?
On the ftp Server?
Best
Jonna
Hi Jonna,
You can go via Appearance > Editor and find that file there.
Best regards,
Victoria
Hi Victoria,
this worked out, but for both masonry galleries that are on the front page. Is it possible to give this code to only the first masonry gallery, not to both?
Best regards
Jonna
Hi Jonna,
Please go to Enfold theme options > Layout Builder and check “Show element options for developers” then edit your element and give it a custom CSS class (“my-custom-class” in example below) and then add following code to Quick CSS
.my-custom-class .av-masonry-entry {
pointer-events: none;
}
Regards,
Yigit