adds styles for background image and text