Archived topic
combine merged header with block element
7 replies · Started by Stefanie on December 5, 2022
Hi there,
I'm not quite sure, if I'm getting it right...
If I want the header be merged with the content, then it's not possible to use block-editor for styling the page-hero, right?
If I want to style the page-hero with block-editor, then I must do it without merging, right?
Concrete: I would like to build a page-hero for this page:
https://wp03.pixelhof.de/kontakt/
The header should merge with the content. But this is only possible with Elements > Header.
But in Elements > Header I cannot use the block-editor for styling text and buttons.
Maybe I don't get it right...
Thanks for clarifying
Hi Stefanie,
You can use a block element to create the page hero content, then use the header element only for the merge feature.
Here's a video that shows how to do that:
https://youtu.be/TP8mgBQTgGg
Hi Ying,
wow, this is amazing! The video is very helpful and i will now go to the implementation. It seems like anything is possible with this theme :-)
Thank you!
regards
Stefanie
Glad to hear that :)
Hi Ying, Can I use a video (from Vimeo) rathen than a picture?
Thanks,
Ale.
Hi Alejandro,
Yes, a video embed added through a Vimeo or Embed Block should also work.
Alternatively, if you want a background video, here's an article you may refer to: https://docs.generatepress.com/article/background-video/
Thnak you Fernando, it works correctly.
You're welcome, Alejandro!
