My daughter went to a church with her friend and wore jeans. The congregation were horrified by this and complained. I believe a church should accept them how they are.
In biblical times men wore dresses, and we don't expect that today. Women wear trousers today. Visitors who come to the church and then get blasted for what they wore, walk away from church.