Adds style and change the layout