Home › Forums › CSS › Dynamic Full Width Background Images › Re: Dynamic Full Width Background Images
December 11, 2012 at 6:23 pm
#116928
seansean11
Participant
Thank you @djdaniel150, I do know about using background-size: cover, and that is a very viable solution, because I really could make the image that loads any size (as I have the original jpg). I should have added this technique to the original post.
But the real question still remains…Since this img is loaded through CSS, how would you load it dynamically? Would you add it through inline CSS (which would be served through PHP that communicates with the WordPress admin)? or is there a way to dynamically generate this image into your stylesheet?