varchar255
Forum Replies Created
-
Hi
I figured that I previously must have achieved it due to a weird bug or something coming likely from another plugin 🙂
Basically I would like to add a background image (which takes the featured image) onto the
<main id='site-content' role='main'>tag.It would have the following CSS:
background-image: url(...); // featured image URL background-repeat: no-repeat; background-size: cover; background-attachment: fixed;I recorded a gif of what such solution would look like (what it was for me before):
https://staging.muzeum.cz/wp-content/uploads/2022/02/wp-twentig-preview-bg.gif
I suppose I will need to write a custom function for this and somehow plug this into your template.
Thanks
Just tried downgrading to an older version but the image seems gone too, so not actually sure what caused it.
However I am looking for a way to display the featured image on a post/page as the background image (full width fixed).
If there is a way to achieve this using Twentig I’d appreciate it!
Thanks 🙂