Delete Link in Portfolio Widget

Hi guys!
I’m looking for a way to show only pictures in my portfolio widget on this website:


When the mouse is over the peicture I would like to see the name displayed, but it should have no link to which one is directed when clicking on the picture.
Any ideas how to delete the link?
Thanks,
Uwe

Hello Uwe,

You can try to remove those links with jQuery.

  1. Please install and activate Insert Headers and Footers plugin that will allow you to insert JavaScript (jQuery) code.

  2. Go to your DashboardSettingsInsert Headers and Footers → add the following code to Scripts in Header section, and click Save button:

<script>
    jQuery(document).ready(function(){
        jQuery('.project-item a').removeAttr('href');
    });
</script>

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

It works!!! Thanks so much! I will mention that your support is so great when I evaluate the theme!

You are welcome Uwe!

It’s great that it works :slight_smile:

Kind Regards, Roman.

Hello Roman,
i hope you can help me too.

Your Code works excellent, but i want to open the photo in a view mode.
Is this possible?

Thanks a lot.
Michael

Hello Michael,

As far as I understand, you want images to open in lightbox.

I don’t think that there is an easy way to do it, unfortunately.

Please feel free to create a new topic if you need more help.

Kind Regards, Roman.