Door alignment issues

Up & down is controlled by hinge to body bolts; in-out controlled by hinge to door bolts. Wood & jack will work or have a helper. Tightening the bolts with just enough friction to allow some movement can help. You did rebuild the hinges if needed?