fixing the problems with styling the posts