Archived topic
adding background page hero
8 replies · Started by gedosan on May 27, 2021
Hi there,
Tried to figure this out myself, but no luck (and just bought generate blocks pro hoping it would be in there, but can't figure it out)
At the top of all pages (or a sub-section of pages), I'd like a solid background at the top of the page (coming down to just above the fold) that sits underneath the current content (headline, etc). At the bottom, I'd like a curve or slant or whatever, like you see on many websites.
I've included an example site below, followed by my own site. Please don't share either site, even in a screencast!
Hope you can help. Thanks!
Hi there,
This would be a better question for GB's support forum.
Shapes would be what you are looking for:
https://docs.generateblocks.com/article/container-overview/#shapes
It's a free feature :)
Thanks, I see that, but when I add one it doesn't appear to sit behind the content?
G
Slight update - I've got the shape appearing (see link) but I think I see why the shape won't sit under the content...I need template tags adding for page title, featured image, etc so they dynamically load on top - I think?. I asked the question in another thread actually about this (if template tags are ready yet for block elements).
Cheers
G
Hi there,
select the Container Block that has the shape added to it, in the spacing options increase the Inner z-index value to move it front of the shape.
Regarding the other question - i responded here:
https://generatepress.com/forums/topic/template-tags-in-block-elements/#post-1801423
Got it thanks, is there a way to pull the author pic through dynamically?
Hi there,
You can use dynamic image block from GP, with a GP logo:
https://www.screencast.com/t/kiy9MtpOS
Thanks Ying
You are welcome :)