[Resolved] Video in header with Elements

Home Forums Support [Resolved] Video in header with Elements

Home Forums Support Video in header with Elements

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #688088
    Ralf

    Hi there,

    i am trying to find the option in this new Elements stuff to put a youtube video as background…

    unfortunately there is no option like it was in the old GP backend…

    how can i put a video as header background now ???

    thx

    GeneratePress 2.1.4
    GP Premium 1.7.2
    #688089
    David
    Staff
    Customer Support

    Hi there,

    the option was removed as there are so many variables for adding video it made sense to replace it with some code, this article covers how to:

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

    #688101
    Ralf

    thx David,

    are you serious ???… i have to work with html and CSS to put up a header background video ??? … well, i have made many websites with GP so far because it was easy to handle… but now not anymore… in other themes you just have to insert the URL of the video… this change might be a reason why i will work with another theme for future projects… i don’t understand and i don’t like this change/solution – sorry

    anyway… thank you !

    #688131
    David
    Staff
    Customer Support

    The decision was not taken lightly. It was a weigh off between the old system, which was extremely limited in its capabilities or using the simple HTML5 and CSS to provide the full scope of video options. We didn’t feel that requesting users to copy and paste the code would be a huge distraction when it affords them more control.

    I personally have an Exported Header Element that is already set up with the HTML and the CSS in a relevant child theme. So when starting from scratch its just a case of import and go.

    But I am sorry to hear that you feel this way. And i will pass your comments on to Tom as all feedback is greatly appreciated.

    #688149
    Tom
    Lead Developer
    Lead Developer

    I thought about this extensively before doing it and decided a custom copy/paste solution was the way to go.

    There are simply too many options necessary for background videos to fit into the UI. On top of that, using a custom copy/paste solution gives you way more control over the video and surrounding elements.

    #688185
    Ralf

    Nevermind, it is actually no big deal…and besides, the video hasn’t to be in the header…and don’t get me wrong, you guys are doing a great job and GP is a great theme.
    thank you for the support.

    #688719
    Tom
    Lead Developer
    Lead Developer
    #1148274
    Raina

    I know this is an old thread but I was considering trying to do this myself. Let me know if I should make a new thread. However, I was wondering how I actually use the video header code.

    I’m currently working with one of the sites from the library (Catalyst) which includes a header element. Do I just plug the HTML code into that header element with the URL of the video and then add the CSS to my additional CSS in the customizer? Or should this be a separate element – and if so, how do I reference it in my header element?

    Any help will be appreciated!

    #1148312
    David
    Staff
    Customer Support

    Hi there,

    Do I just plug the HTML code into that header element with the URL of the video and then add the CSS to my additional CSS in the customizer?

    That is correct πŸ™‚

    #1148597
    Raina

    Got it. That was pretty easy!

    #1148978
    David
    Staff
    Customer Support

    Glad to be of help πŸ™‚

    #1884162
    Kenny

    Hello,

    I went to the page here to help put a video in the header: https://docs.generatepress.com/article/page-hero-background-video/

    It says: “We just need to add some HTML into the content area, and add some CSS to our site. The first thing we need to do is structure our HTML within our Element content.”

    No matter how much I search or Google, I can’t find this “content area” or where to add the CSS, never mind “structuring our HTML within our Element content”! I know it’ll be something simple but I can’t just see it.

    Any pointers on where it is? Thanks in advance!

    #1884167
    Leo
    Staff
    Customer Support

    Can you open a new topic for your question?

    Thanks πŸ™‚

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