The vote came one day after the mayor made headlines when he was the only member of Toronto city council who remained in his seat during two standing ovations to congratulate organizers for the success of the World Pride festival, a festival that packed the city with lesbian and gay tourists.

The motion at city council Thursday, which passed 37 to 1, asks city staff to explore the possibility of dedicating 25% of the beds in one city shelter to lesbian, gay, bisexual, trans, queer/questioning and two-spirited youth. It also directs staff to look into the cost and feasibility of operating a standalone shelter for LGBTQ kids.

Mr. Ford did not address the reasons for his dissent before voting. A day earlier, he ignored questions about his refusal to congratulate organizers and city staff who worked on World Pride and for Councillor Kristyn Wong-Tam, council’s only openly gay member. He did say that he is “not homophobic.”

Mr. Ford’s two main mayoral rivals both denounced the vote Thursday. “Ford voted no to a LGBTQ youth shelter,” a message posted on Olivia Chow’s Twitter account read. “In a world free of homophobia we wouldn’t need one. It’s a world he refuses to help create.” John Tory, meanwhile, called the vote another example of “Ford’s refusal to lead,” also on Twitter.

Commenting Wednesday on Mr. Ford’s actions, Ms. Wong-Tam said, “I think clearly Rob Ford once again stands alone in a corner pouting by himself. And that’s where he belongs and that’s where he should stay.”