The greatest presidents didn't seek to transform the balance of political sentiment in the country by enacting bold and direction-altering legislation. It was quite the opposite: they first transformed the balance of political sentiment in the country in order to enact their seminal legislation.
Consider Lyndon Johnson's grand accomplishment in enacting civil-rights legislation in 1964. At the time, Democrats commanded 258 House seats and sixty-seven in the Senate. Johnson and his congressional allies (both Democrats and Republicans) managed to scramble the political fault lines in both houses in a way that ensured this nation-changing legislation could pass both chambers with substantial majorities among both Republicans and Democrats. Thus, he transformed the national consensus on race and ensured that his accomplishment would stick.