Swinging shower doors are held in place using a magnet set in the latch of the door. When the door closes, the magnet adheres to the metal surface of the shower frame and keeps the door closed. If your shower door is swinging open, it might be time to replace the magnet inside of the latch. This is a very simple repair, requiring few tools and a minimal home repair skill set. In fact, the repair can be completed in just a few minutes.
Unscrew the latch. The screw is located on the interior of the door, directly on the latch itself. Remove the latch from the door, exposing the magnetic strip.
Peel off the magnetic strip from the door with your hands.
Fit the strip to the door. Place a new magnetic strip on top of the old magnetic strip. Cut the new strip to the same length as the old strip using either scissors or a utility knife.
Put the new magnetic strip in place. Peel off the protective backing on the strip. The strip will adhere to the shower door. Replace the latch and screw it back on to the door. Shut the door to test the new strip. If the door remains closed, your installation was successful.