The Democratic party wasn't always as liberal as it is now, but that doesn't mean that the GOP had to be liberal.
The Democrats were once the establishment party and the Whigs anti establishment; many Whigs became Republicans.
Being anti establishment isn't the same as being liberal.
I do think Bryan was liberal for his time although obviously very conservative religiously.
Curious what you mean about the Whigs? Most contemporary attack ads against them from Democrats seem to have painted them as a party of monied interests (in bed with Wall Street and the railroad companies), anti-immigration and morally judgmental.
I think that Whigs were formed as an opposition party to Jackson and that Jackson was seen as an establishment President.