add style to public layout