How to Build a Wooden Gate on a Slope | Hunker
Stand the gate upright, with a 1-inch thick wood spacer under each end between the posts. Position the hinges and bore pilot holes through the horizontal rails of the panel on the downhill side of the opening. Bolt the hinges to the fence and remove the spacer. Test the swing of the gate to be sure it clears.