On a number of X or Pro sites that I have built, I have used a background image which was set in the Customizer. I used an image 1600px wide and all worked well.
However, I am now looking to optimise my sites’ loading times and wondering if there is any way in which the background image can be varied with viewport width.
I have done this successfully on a “section” level within a page layout where background-image can be styled in CSS differently for each viewport size using simple media queries. Is there any way of doing this on a site-wide level, or even at page level?
Kindest regards,