Just from an historical view, most of those weren't voted on by the public. Most were via the judicial process, where someone sued and the state and/or federal courts determined that it was a violation of the Equal Protection Clause.
Also - the voting patterns for California's Proposition 8 were actually quite interesting. It was an overwhelming majority yes in the mostly rural counties, and a majority no in most of the urban counties. California isn't really a monolith. It's probably the most diverse state in terms of differing political views. One of the more fascinating dynamics was that a large number of new voters wanted to vote specifically for Obama as President. These voters might be politically liberal but gay marriage wasn't exactly something that resonated with these new voters. Los Angeles County was actually a slight majority (50.2%) yes as a result.
Here's the breakdown of voting by county:
If this were voted upon again, it's pretty clear that it wouldn't pass. There was a lot of talk that there should be a voter initiative specifically allowing for SSM. However, there's no particular need given various court rulings.