It depends, he hates Rossie O'donnell so for her he is against it. But for his friend Peter Thiel he is in favor of it.
This is a dishonest argument. Trump ran I 2016, when gay marriage was already law. It was explicitly the result of Democrats being elected that legalized gay marriage.