Photo: Kolin Smith
Prop up the gate on scrap blocks between the posts, at least 2 inches above the highest point in its path, apron-side out. Shim it level, and use a level to check your work. Be sure to keep an even gap on each side. Center the gate on the posts, then shim it in place between them.