When exactly did hats get out of fashion and why?

by lemontolha

It seems that up until some part of the 20th century hats were viewed as essential part of clothing, like shoes, hat-making was a huge industry. While earlier everybody needed a hat at some point it then became optional (like base-caps etc.) and even viewed as eccentric. When did this change happen and why?

mimicofmodes