So, elected to presidency is correct over elected for presidency?
Yes. You run or campaign for
office or for President. If you win the campaign then you have been elected [as president/to the office of president].
There a period time before the election is held, and then there's the time when the election is over and the votes are in. You may have been confusing thing you've heard said about elections but which relate to different time frames.