switched method for creating dynamic styles to wp_add_inline_style()