CHICAGO -- The veteran was a little better than the rookie on Sunday afternoon.

Though Chicago Cubs rookie pitcher Kyle Hendricks was solid in his third major league outing, he came up short against the St. Louis Cardinals and their ace Adam Wainwright.

Wainwright (13-5) allowed five hits in seven shutout innings as the Cardinals beat the Cubs 1-0 and took two of three games in the series.

Hendricks (1-1) allowed one run and seven hits in 6 1/3 innings. He struck out two and walked none. The one run scored on Matt Holliday's 10th home run, a solo shot to center that put the Cardinals ahead 1-0 in the first.

Closer Trevor Rosenthal earned his 32nd save in 36 opportunities with a 1-2-3 ninth inning.

Both teams had several opportunities to score. The Cubs put two runners on in the fifth, sixth and seventh innings.

Chicago left runners on the corners in the fifth when Hendricks struck out looking. The Cubs also put runners on first and second in the sixth, but shortstop Starlin Castro hit into a double play. They stranded another pair in the seventh after a single and a walk.

The Cardinals loaded the bases in the seventh when shortstop Jhonny Peralta singled off Hendricks and outfielder Oscar Taveras singled and outfielder Jon Jay was hit by a pitch against Wesley Wright. Wainwright lined out to end the threat.

Hendricks allowed four runs in six innings in his major league debut July 10 against the Cincinnati Reds before he threw seven scoreless innings against the San Diego Padres on July 22. He was the Cubs' 2013 Minor League Pitcher of the Year.

Wainwright allowed six runs -- four earned -- in 4 2/3 innings against the Tampa Bay Rays in his last outing. He was 1-1 with a 6.00 ERA in three previous starts against the Cubs.

The Cubs were trying to win their first home series since taking two out of three against Miami on June 6-8. They were also trying to win their first series against an National League Central opponent since taking two of three against Milwaukee on May 16-18.

The Cubs have won just four of their last 19 games.

NOTES: The Cubs wore baby blue throwback uniforms from 1978, and the Cardinals wore gray, 1978-inspired uniforms. "This is pretty comfortable," Cubs manager Rick Renteria said. ... Though he called RHP Kyle Hendricks "a very bright young man," Renteria said before the game that he does not worry about him over-thinking. "He's been able to kind of slow things down," Renteria said. "That is something you worry about with young players. They speed everything up. He takes a breath, takes a step back, sees what he has to do and attacks it the way he has to. It doesn't always work out. He goes into it with a calm demeanor." ... Cardinals manager Mike Matheny recalled facing Greg Maddux, who was inducted into the Hall of Fame on Sunday. "I remember one time here, he put one right down the middle," Matheny said. "Hit it as hard as you want because the wind was screaming in, and I smashed it as hard as I could smash it, and it went nowhere. He just gave a grin. He had a real good idea of what he wanted to do all the time." ... Matheny challenged that 3B Matt Carpenter was called out at second after trying to extend a single in the third. Replay review upheld the call.