Trivia question: The Republicans use the elephant as the mascot and the Democrats the donkey. What was the mascot of the Whigs?
Answer: A bulldog guarding a strongbox.
The Republicans stole the Whigs' thunder on the importance of commerce and were willing to take a stand on slavery. This was something the Whigs tried to dodge.
Before the 1850's the slavery issue could be discussed dispassionately by the Great Middle, even though discussion on the extremes always led to violence. By the time of the Kansas-Nebraska unpleasantness, and the unwillingness of the Pierce Administration to maintain law and order in the two territories, there was no longer any middle ground.
The Whigs bailed on the major issue of the day, and there was no way they could have survived the upheaval of the Civil War.