How to a overlay effect in CMS

I struggle to get an overlay effect like the one in the picture. Does anybody perhaps know how to get it right on a CMS Item?

Screenshot 2022-11-17 170944


Here is my site Read-Only: Webflow - menu

You could try setting the image as a background-image on the collection item instead of using the image element, then add the content in a div inside the link