Added style parameters for title and text