adjusting borders and padding to posts