Links on Portfolio Images

On a portfolio image, you can either:

  1. Click on the page category block and be redirected to a page of all the images that are in this category
  2. Click on the image and be directed to a main page
    Is there a way to remove the link on point 2?

Yeah, you can add this in Customize > Additional CSS:

.portfolio-wrapper .hentry > a {
    position: relative;
    z-index: -1;