I've set up a custom field called "background-img" that has to be filled in for every post-type.
I want this image to show up as the full screen, fixed, covering background image for every page where it is submitted. So the content scrolls, the background doesn't.
I've already made a workaround by showing the image as a normal image and sending to the back by using z-index, but this is not a sustainable solution.
Example: hidden link
1. Is there a single way to do this without coding with PHP?
2. Or is there a way to do it for every template without coding with PHP?
3. Or is there a way with PHP coding, which you can explain step-by-step?
I've already made a workaround by showing the image as a normal image and sending to the back by using z-index, but this is not a sustainable solution.
Hi, can you explain more about what you want to improve, or how this could be more sustainable? I want to be sure I'm solving the right problem.
I want to know how to assign the custom image field to the background image of the page (body). I've added a lot of custom CSS to make a fix now. I would like to do it properly.
I'm using Toolset Blocks now. Is there a way to add some code to a block to assign the background image?
Please try this and let me know if this helps. If not please let me know and you can also provide access to the site so that I can help further with this.
The private fields will be enabled for your next response.