Hi, I would like to remove the link to the portfolio page for the second masonry on my homepage.
I tried some suggestions on the forum, but can’t get it to work.
This is the code I’m using now in quick css.
/* No link for upcoming masonry */
.page-id-13 #av-masonry-2 {
pointer-events: none !important;
}
Can you help me to make it work?
I’ve created a section id for itas well, section-masonry-noclick, but that didn’t work either.
Best regards, Haiko.
Hey rhae,
Please try this instead:
.home #av-masonry-2 a {
pointer-events: none !important;
}
Best regards,
Rikard
Hi Rikard,
Thank you for your reply. I’m afraid that code doesn’t do the trick, I still go to the portfolio page after clicking on the tile.
Best regards, Haiko.
Hi Haiko,
I can’t see the CSS I gave you applying, it should work as I’ve verified it twice. Please try deleting the old CSS and JS files under Enfold->Performance (this functionality doesn’t need to be used while your site is in development).
Best regards,
Rikard
Hi Rikard,
I’ve deleted them, and used another browser to double check it, but I’m afraid it doesn’t work yet :(
The code is near the end of my custom CSS. Is it possible for you to log in using the supplied credentials and check what might happening?
Best regards, Haiko.
Hi Haiko,
I placed the CSS I posted at the very top of the Quick CSS box and it’s working. You likely have some badly formatted CSS or comments in there which causes CSS below not to execute.
Best regards,
Rikard
Hi Rikard,
that must have been it. Thank you, problem solved.
Best regards, Haiko.