The best way that I know of is to make the stairs themselves (and not railings on the side) as passable then include an invisible surface with the same slope angle as the stairs but have it as invisible. It's the simplest method.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials