Reply To: replacing image with video


You can hide the images and then manage the content of the portfolio such that you insert the image or a video at the start of the content for the portfolio entries. Instead of modifying the php code, you can hide the image at the top of portfolio item by inserting the following CSS into Custom CSS panel or the custom/custom.css file –

.single-portfolio img.featured { 
display: none;

Hope this helps.