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.
Couple calls 9-1-1 over missing hash browns; assault McDonanld's employees
Exploding whale video goes viral on Internet