[Resolved] GenerateBlocks Container Background Video

Home Forums Support GenerateBlocks Container Background Video

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1495300
    Neil

    Hey Support,
    I am using the Vinyasa demo as a base to build a site and wondered if it would be possible to switch the Hero background image to a video.

    I can see the settings within the “Container” block to add the background-image url but this won’t accept a video file.

    Would this need to be re-created as an Element? If so, any thoughts on allowing a video file in the future?

    Thanks in advance.
    Neil

    #1495443
    David
    Staff
    Customer Support

    Hi there,

    its not possible at the moment without some custom coding. You can use the method we provide for adding video bg to the Header Element:

    https://docs.generatepress.com/article/page-hero-background-video/

    The principles are the same, excerpt you would need to use a custom class on your Container Block and insert the video content in a HTML Block.

    Its something we’re reviewing for a future block option.

    #1495926
    Neil

    David,
    I have been trying out a few different options and managed to the same section using the default WordPress Cover Block a container for the swirl over the top.

    Thanks for you time on this.
    Neil

    #1496536
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.