To adjust a door that swings open or closed on its own it is probably because the door lining frame is out of plumb.
How to adjust hanging sliding doors.
Many times the door rollers will come off the upper track.
On my door the holes had plastic plugs in them.
If you need to adjust the doors to make them hang evenly loosen the screws that hold the rollers to the door slightly.
Look at the rollers.
Use nails or screws to install the wood strip and slide the bottom track over the wood strip.
Turning this screw raises or lowers the roller.
Loosen the screws holding the sliding wheels to the top of the door with a screwdriver until you can slide the attachment plates freely.
Attach it with screws.
Both doors should operate smoothly on the upper track.
If the door becomes even harder to open turn the screw in the opposite direction.
Adjust the plates so that the metal at the top of the plate is seated against the top of the glass.
Give the screw a clockwise turn and test to see whether the door slides easier.
While you are at it it is also a good time to give the sliding door track a good clean and get rid of any gunk that may have accumulated.
Usually the mounting bracket screws have loosened up making the door sag and rub against the carpet or floor.
Hold it against the jamb while you adjust the brackets as shown.
Make sure to adjust the wheel assemblies on the doors verifying that 1 inch of the roller is showing.
I used a steak knife to pry the plugs loose.
Inside a standard sliding glass door there are adjustable rollers that help it slide back and forth on the track.
Most sliding doors have a mechanism called an adjusting screw located at the bottom of the door ends.
There are holes on your sliding glass door that conceal the adjusting screws to these rollers.
Determine the need for adjustment.
Slide the door back and forth.
The easiest way to sort this if you have loose pin hinges is to remove a pin knock it out with a nail punch and bend it slightly by hitting it with a hammer to increase the friction then put it back in.
To fix it you ll have to work from inside the closet so get a flashlight and screwdrivers.
Turning the screw clockwise will cause the door to lift while turning the screw anti clockwise will cause the door to lower.
How to adjust a hanging glass shower door 1.
Start by pushing one door closed against the jamb.
Do the same on the other door.