I didn't measure the width of my shelf because I didn't know therefore, the racks do not go back to the wall. I will make them work.