The petulant infielder, acquired from the Marlins on Wednesday, hit a two-run, go-ahead homer in the 10th inning on Friday, as the Dodgers downed the Giants, 5-3, in the opener of a three-game series.
In the 10th, Sergio Romo (3-2) retired to first two batters he faced, then walked Andre Ethier on a close, full-count fastball. Ramirez capitalized by belting an 0-1 slider into the seats in left center for his 15th home run of the season and his first as a member of the Dodgers.
"That ball was crushed," said Los Angeles catcher A.J. Ellis. "You notice in batting practice, watching Hanley hit, it's just a different sound coming off of his bat. That ball was hit and our dugout erupted."
The Dodgers halted a three-game losing streak and now trail San Francisco by two games in the National League West.
Stephen Fife, who was recalled from Triple-A Albuquerque prior to the game, made his second career start for Los Angeles. He lasted 6 1/3 innings, allowing just one run on six hits with three walks and two strikeouts.
The 25-year-old righty also helped the Dodgers snap a 31-inning scoreless streak against the Giants when he doubled with two down in the fifth and came home on Jerry Hairston's two-bagger.
Giants starter Matt Cain allowed three runs on nine hits over seven frames. He singled to load the bases in the second inning, setting the stage for Nate Schierholtz's RBI groundout.
"It's no secret we're looking for depth and experience," said Giants general manager Brian Sabean. "Hopefully this is the first of a couple moves. We'll see."
Jansen gave up singles to Cabrera and Buster Posey to begin the 10th, but struck out Angel Pagan and Belt, then induced Jaoquin Arias into a game-ending fly out to left field.
Ramirez is now 4-for-11 with a triple in three games since joining the Dodgers via trade. Los Angeles also acquired lefty reliever Randy Choate in that deal and sent pitchers Nathan Eovaldi and Scott McGough to Miami.
Fife made his major league debut on July 17....San Francsico leads the season- series 4-3...Scutaro, an 11-year veteran, is hitting .271 with four home runs and 30 RBI in 95 games this season...The Dodgers placed left-handed pitcher Scott Elbert on the 15-day disabled list with left elbow inflammation on Friday.
For more on the Giants, head to McCovey Chronicles.