added the padding/margin option for the center grid type