You do not say what kind of truck you have but here is some info about a 78 chevy truck door adjustment.
REMOVAL & INSTALLATION
See Figure 1
View Full Image Fig. 1: View of the door hinge mounting
If the door being removed is to be reinstalled, matchmark the hinge position.
If the door is to be replaced with a new one, remove the trim panels weathersheets and all molding. Remove the glass, locks and latches.
Support the door and remove the hinge-to-body attaching bolts. Lift the door from the truck.
Installation is the reverse of removal.
Perform the adjustment procedure, as outlined in this section.
ADJUSTMENT
The holes for the hinges are oversized to provide for latitude in alignment.
Align the door hinges first, then the striker.
Hinges
If a door is being installed, first mount the door and tighten the hinge bolts lightly.
If the door has not been removed, determine which hinge bolts must be loosed to effect alignment.
Loosen the necessary bolts just enough to allow the door to be moved with a padded prybar.
Move the door in small movements and check the fit after each movement.
Be sure that there is no binding or interference with adjacent panels.
Keep repeating this procedure until the door is properly aligned.
Securely tighten all the bolts.
Shims may be either fabricated or purchased to install behind the hinges as an aid in alignment.
Striker Plate
See Figure 2
View Full Image Fig. 2: Common adjustable striker bolt
The striker is attached to the pillar using oversized holes, providing latitude in movement.
Striker adjustment is made by loosening the bolts and moving the striker plate in the desired direction or adding or deleting the shims behind the plate, or both.
The striker is properly adjusted when the locking latch enters the striker without rubbing and the door closed fully and solidly, with no play when closed.
Auto Mechanic/Technician
Operate Mercy Auto Clinic