Desactivate links in projects

Hi,

I’m setting up a website using your beautiful theme.
I’m having a few projects but i just want to display the image and have no link on it. But even when I erase “#” it keeps coming back :slight_smile:
Would you have a trick (maybe in the PHP file?) to do so?

Also how to do to desactive social buttons I don’t need?

Thanks!

Hello,

The most simple workaround for the picture URL woudl be to include this code:

j a v a s c r i p t:void(0)

^please delete the spaces between javascript since the forum does not support the code to be added.

To de-activate the unwanted social buttons you just have to delete the # from the fields.

Let me know if you got this alright.

Regards

Hi, where do we add the javascript code to remove the link from the project images?
Thanks!

You need to add the code to the project image URL

Can you give me an example please?

Hello @pdbystrom,

I’m sorry but it seems like the solution is not working anymore, you are right.
I remember testing it, not sure what changed meanwhile.

A workaround, if you want to remove all the project image links would be to use a CSS like this one:

#projects .project {
    pointer-events: none;
}

If you want to remove only some of them, you should get the project image dedicated class:

#illdy_project-1 .project {
    pointer-events: none;
}

Sorry for the confusion, let me know if you got it alright.

Regards

Thank you, this solved the issue!

That’s great news!