Usually, if there’s a gap on the top latch side, you’ll need to adjust the bottom hinge. If the door is bumping up against the top latch side of the jam, you’ll need to adjust the top hinge. You can find the manufacturer and the model of the door. Visit the manufacturer’s website and get the instructions to fix the problem. [6] X Expert Source Abraham SchwartzHandyman Expert Interview. 28 August 2020.

You may need a helper or something to prop up the door with if it becomes unstable with the hinges partway out.

The low-expansion foam will work best for this purpose but it’s possible to use another kind if your choices are limited.