This just isn't the case. I'll talk about the UK because I'm more familiar with it, but other countries will have similar stories. Changes have been made to energy consumption, rules brought in on recycling, incentives given for electric transport, stress on public transport - people see and vote for these things. Yes - every party. Clearly some in the UK want to go further than others, but there is no party that has no policy in this area.
This didn't happen by magic - this happened because the public consistently and repeatedly voted for candidates that had policies leaning more in that direction. And again - before someone tries to make this a domestic political scrap, this was for every party of every stripe. People do do things when given the chance.