Yelich and Solano both had three hits in the victory, which extended Miami's winning streak to three games.
Ryan Webb (2-5) picked up the win in relief. Miami employed four relievers after starter Tom Koehler was ousted after 4 1/3 innings.
Edwin Jackson (7-15) took his fourth loss in his last six starts for the Cubs. Jackson was tagged with three runs on seven hits in four innings.
Brian Bugosevic had a solo home run for the Cubs. Anthony Rizzo drove in the other Chicago run.
McPhee, Cokas 'working on their marriage' after affair
Beautician charged with giving client fatal silicone butt injection