adjust layout for pg posts