Probably not helping the situation, but I believe both experiences to be true.
I have a friend who is a professor who has small children. There are no other female professors with small children in her discipline, full stop, and female professors are like hens teeth. She works incredibly long hours, flies around the world a lot and wrote a book on maternity leave. That's why she's a professor in her late thirties and incredibly successful, running a large group of other researchers and working late into the night most nights.
I am not a professor in my late thirties, I'm more junior and older! I do work hard, but I don't travel a lot as I don't like it and tend to choose more local projects to stay at home more as the main carer for the children. I work occasionally on weekends, but nothing like the hours my friend puts in. I work steadily and productively, probably similar to a lot of teachers, but without sacrificing everything to it. Hence I am not a professor yet (if I ever will be) and I have a smaller number of projects on the go, don't get invited for keynotes yet.
There clearly is an issue for many females in academia, as only 1 in 5 are professors, but it's more like 50/50% at the PhD stage, so something happens to make them not rise up the ranks and decide that professorial lifestyle (which is hard work but comes with bigger pay) is not for them. I believe more women (and men from other countries) are stuck in contract jobs/insecure employment/face more difficulties getting promoted.
I don't think it's impossible for women to have children and be an academic, the successful ones I know have both, but they are the exception that proves the rule to some extent, if you look at the statistics. I have friends who were given warnings for their productivity after a mat leave. In the new era of productivity measuring, being 'on it' all the time is going to be even harder if you want to combine academia with having a life/having children/not being obsessed by it.
This is a bit off topic, but it hasn't worked out very well for the friend I know who jumped from teaching as she has got stuck in insecure contract jobs after her PhD and doesn't want to move the whole family elsewhere to find permanent work, so I'm pretty sure she isn't going to carry on in it as it doesn't suit her whole family's circumstances, which is common amongst the women I know.