Apply page layout