Unfortunately we threw the baby out with the bathwater, and decided that all actions are equally socially acceptable and there should be no social repercussions for living "differently."
This is why I prefer smaller, culturally homogenous communities. We all understand the rules and we generally abide.
I feel like this has almost never been true in big cities: it's impossible to know everyone and unless they made the news for what they did word wouldn't travel very far.
Besides that, I also haven't observed what you're describing in both the smaller communities and the cities I've lived in. People absolutely do still get socially ostracized all the time in real life.