Clean the shower door well to allow better adhesion of the towel bar suction cups. To clean, put on safety glasses and rubber gloves. Pour 1/2 cup of white vinegar and 1/2 cup of warm water into a spray bottle. Spray this over the door and wipe the glass with a sponge. Follow with a squeegee, starting at the top and pulling it on down the glass.
Allow the glass to air dry. Choose how high you want the towel bar by placing it against the glass.
Open the shower door so you can hold the door steady as you press the suction cups into the glass. Apply firm pressure to each of the suction cups. When the bar is sticking to the door, give the towel bar a gentle tug to make sure it is firmly in place.