The Dress Code in the Vatican City Peter's Basilica. Its basic code is for both men and women both need to cover their knees and upper arms. They prohibit wearing shorts or skirts above the knee, sleeveless tops, and low-cut shirts. Men must take their hats off before entering whereas women may continue wearing theirs.