[Resolved] How to remplace the main image by a video?

Home Forums Support [Resolved] How to remplace the main image by a video?

Home Forums Support How to remplace the main image by a video?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1361713
    Stephane

    Hello

    Is it possible to remplace the main picture on a article by a video?

    I tried on changing the type of post (standard by video, without success).

    Best regards

    Stef

    #1361749
    David
    Staff
    Customer Support

    Hi there,

    will every post require a different video ?

    #1361863
    Stephane

    Hello David

    Yes. I would like to create 50 posts with 50 different videos (and display the video instead of the main image).

    #1361928
    David
    Staff
    Customer Support

    The simplest method would be to disable the Header Element on your posts and the featured image. And simply add a Video block to the top of your posts.

    #1362124
    Stephane

    I tried, however the elements stay.

    #1362143
    David
    Staff
    Customer Support

    The site is using a Header Element:

    https://docs.generatepress.com/article/header-element-overview/

    in Appearance > Elements you will need to edit the Single Post header element. And change its Display Rules to EXCLUDE that post. I would suggest using a Tag to identify the Video posts, then you can exclude the Post Tag

    #1362173
    Stephane

    Right.
    Do you know that your are the best David?

    Thanks a lot for your support. The best that I have had ever seen 🏅

    #1362187
    Stephane

    Last question.

    Is it possible to have a 100% width on a specific category ? e.g, here I would like that the content (video & text take all the width)

    #1362234
    David
    Staff
    Customer Support

    Maybe the Layout Element will help?

    https://docs.generatepress.com/article/layout-element-overview/

    You can disable elements such as sidebars, set the content width etc.

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