Display html background image by getting the page featured image via php
Hi I am in the hello world stage of php and I am trying to get the image URL to replace the muffin builder background image URL for the site. I want to display the background image as the post featured image. by doing something simple like this:
html {background-image: url('<?php INPUT_GET_PHP ?>') !important;}
I am not sure what php to put there, i have tried several things like getting the post image and im just not sure what im doing honestly. Need help, thanks
Comments
What you ask for, requires files customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should contact with your web developer. Item Policy clearly says:
Item support does not include services to modify or extend the item beyond the original features, style and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customisation services or checking out the great service providers on Envato Studio
thanks