Slide the bifold doors completely closed. Look at the bottom of the doors to see if either of the panels is noticeably out of alignment with the other door. Also look at the outside edge of the panel to check if it slightly angles instead of going straight down.
Kneel down on the floor and look underneath either of the door panels to see if the hinge pin on the bottom of the door is correctly inserted into the hinge bracket on the floor.
Fold the panel that's out of alignment so that it opens. Have an assistant lift up on the panel, compressing the roller on top of the door.
Move the bottom of the panel to fit the bottom hinge pin into the bottom bracket. Instruct your assistant to lower the panel and release it.
Close the panel and check to make sure the panel bottoms now line up in a straight line. Adjust the other panel in the same way, if both bottom hinge pins were out of position.