Obama was against both back in 2008. Until he need the supporters of Abortion and Gay marriage to vote for him in 2012.
no, he wasn't.
Obama has always supported a woman's right to choose.
Obama supported civil unions for gays in 2008, then admitted that he supported gay marriage in 2012 after Biden blurted it out.