In 1977, Dade County, Florida, passed an ordinance sponsored by Bryant's former friend Ruth Shack that prohibited discrimination on the basis of sexual orientation. Bryant led a highly publicized campaign to repeal the ordinance, as the leader of a coalition named Save Our Children. The campaign was based on conservative Christian beliefs regarding the sinfulness of homosexuality and the perceived threat of homosexual recruitment of children and child molestation. Bryant stated:
On June 7, 1977, Bryant's campaign led to a repeal of the anti-discrimination ordinance by a margin of 69 to 31 percent. However, the success of Bryant's campaign galvanized her opponents, and the gay community retaliated against her by organizing a boycott of orange juice. Gay bars all over North America stopped serving screwdrivers and replaced them with the "Anita Bryant Cocktail", which was made with vodka and apple juice. Sales and proceeds went to gay rights activists to help fund their fight against Bryant and her campaign.
In 1977, Florida legislators approved a measure prohibiting gay adoption. The ban was overturned more than 30 years later when, on November 25, 2008, Miami-Dade Circuit Court Judge Cindy S. Lederman declared it unconstitutional.
Bryant became one of the first persons to be publicly "pied" as a political act. During a television appearance in Iowa on October 14, 1977, Bryant was struck by a pie by Thom L. Higgins (1950–1994). Bryant quipped "At least it's a fruit pie," making a pun on the derogatory term of "fruit" for a gay man. While covered in pie, she began to pray to God to forgive the activist "for his deviant lifestyle" before bursting into tears as the cameras continued rolling. Bryant's husband said that he would not retaliate, but followed the protesters outside and threw a pie at them. By this time, gay activists ensured that the boycott on Florida orange juice had become more prominent and it was supported by many celebrities, including Barbra Streisand, Bette Midler, Paul Williams, Dick Clark, Vincent Price (he joked in a television interview that Oscar Wilde's A Woman of No Importance referred to her), John Waters, Carroll O'Connor, Linda Lavin, Mary Tyler Moore, Charles Schulz, Billie Jean King, and Jane Fonda. Johnny Carson also made Bryant a regular target of ridicule in his nightly monologues. In 1978, Bryant and Bob Green told the story of their campaign in the book At Any Cost. The gay community continued to regard Bryant's name as synonymous with bigotry and homophobia.
The fallout from Bryant's political activism hurt her business and entertainment career. In February 1977, the Singer Corporation rescinded an offer to sponsor a possible weekly variety show because of the "extensive national publicity arising from [Bryant's] controversial political activities."
In 1977, the Dutch levenslied singer Zangeres Zonder Naam wrote the protest song "Luister eens, Anita" (Listen Up, Anita) on the occasion of the protest night "Miami Nightmare", organized in the Amsterdam Concertgebouw. The nightly concert was intended to raise funds for an advertisement in Time, in which the Dutch nation was to call on the American people to protect the rights of minorities. In the song, Zangeres Zonder Naam compared Anita Bryant to Hitler and called on homosexuals to fight for their rights. The song became an integral part of her repertoire and cemented her status as a cult figure among Dutch homosexuals.