adds image and css for bg image of pages