Styling according to the required template.