replacing image with video

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1787
    Light House
    Member

    I am using the portfolio to show videos from vimeo. When you click on each portfolio item it brings you to a page with a bigger version of the featured image. I was wondering if it was possible to remove the bigger version of the featured image and replace it with a embedded video so that is the first thing someone see when you click on a portfolio item.

    Thanks!

    #1796
    livemesh
    Keymaster

    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.

    #1797
    Light House
    Member

    Thanks! That did the trick!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Extinct Theme Support’ is closed to new topics and replies.