Adjusting the page header sizes and image alignment