The Democrats would be a more liberal party if the electorate were more liberal.
IMO the positions of both parties have drifted right to attract donors, which are unfortunately worth quite a bit more than voters.
This. Since “Citizens United”, it’s getting harder to distinguish when a politician is trying to attract voters, and when they are trying to attract funding. You’re right it’s more usually the latter, since that generally leads to the former (sadly).