Video as featured image

Mauer Themes Support Stills Video as featured image

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3976
    edblomfield
    Participant

    Hi, is there a way to set a Youtube video as the featured image, so that it appears at the top of a post? Or if not, is there a way to set a thumbnail without using the featured image field so you can embed the video at the top?

    #4004
    Paul
    Keymaster

    Hi,

    If you are talking about Projects (not blog posts): they do not display featured images at the top of the projects themselves. So you can just start with any block (e.g. a video), not necessarily an image.

    And if you are talking about the blog posts, you can hide the featured image with this line of CSS and as with projects, start with any block you like, be it video or anything else. .single-post .entry-full .entry-thumb {display: none;}

    As for the featured images in post grids (not in single views), you can only use images there.

    Regards,
    Paul

    #4038
    edblomfield
    Participant

    Yes I was referring to blog posts. Presumably that CSS applies to all blog posts – is there any way to tweak a video post individually so I don’t have to add image blocks to the start of all my regular posts?

    #4071
    Paul
    Keymaster

    Sure, you can remove the featured image at the start of a particular post by using the following instead of the CSS I’ve posted above:

    .single-post.postid-236 .entry-full .entry-thumb {display: none;}

    Replace 236 with the ID of the post you’d like to target.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.