I didn’t care for Francis’ early “Who am I to judge?” comment but his first encyclical “Lumen Fidei” does say marriage is between a man and a woman in section 52.
But as an archbishop, he encouraged his fellow Argentinian bishops to not challenge a motion for the state to recognize “homosexual unions” in that country.
His fellow bishops rebuffed him; but the law still passed.