Josh Fields snapped out of a slump by hitting two of Chicago's season-high six homers Wednesday night as the White Sox beat the Los Angeles Dodgers 10-7.

Fields, who got a rare start at first base, entered the game in an 0 for 16 skid. He singled in his first at-bat, hit a two-run, tiebreaking homer in the fourth inning and added a solo shot in the fifth when the White Sox connected three times.

The White Sox built a 10-3 lead after scoring five times in the fifth, but the Dodgers cut the deficit to three on Matt Kemp's three-run homer in the eighth off Jimmy Gobble.

Gobble drilled Juan Pierre in the back with a pitch right shortly after Kemp's homer and was replaced by Octavio Dotel. Bobby Jenks pitched the ninth for his 18th save in 20 chances.

Entering the game with just a .217 batting average at home compared to .280 on the road, the White Sox finally showed some spark at U.S. Cellular Field. Jayson Nix, Alexei Ramirez, Jermaine Dye and Paul Konerko also homered for Chicago.

Chicago's six homers were one shy of the club record. The White Sox last hit six in a game on June 8, 2004, against the Phillies.

Gavin Floyd (5-5) gave up six hits and one earned run in six innings and got his first career win against the Dodgers in four starts.

Randy Wolf (3-3) allowed up three homers and had his shortest outing of the season, lasting just 3 1-3 innings.

Fields, who lost his starter's job at third base when the White Sox called up Gordon Beckham on June 4, had been struggling and was only 4 for 30 over his previous 12 games.

Konerko hit a solo shot in the fifth off reliever Cory Wade to make it 6-3. And after singles by A.J. Pierzynski and Brian Anderson, Nix delivered a three-run shot to deep left, his fifth of the season. Nix got the start against the left-hander Wolf in place of Chris Getz.

James McDonald relieved Wade and after getting one out, he gave up Fields' second homer of the game and third of the fifth inning.

Dye's two-run homer made it 3-all in the third.

The Dodgers feasted on White Sox mistakes in a three-run second inning. Casey Blake walked and moved up on an infield out and scored on Mark Loretta's RBI single. A walk to James Loney at the end of a 12-pitch at-bat and an error on Beckham loaded the bases.

Loretta scored on Pierzynski's passed ball and Loney came home when Chicago shortstop Ramirez dropped Pierre's liner for another error, making it 3-1.

Ramirez hit a solo homer in the first.

NOTES: Fields now has five homers this season. He hit 23 in 100 games in 2007. ... The Dodgers hadn't surrendered six homers in a game since Aug. 2, 2001, against the Reds.