ST. LOUIS — The 49ers' offense needed less than six minutes of the second quarter to do what it couldn't accomplish in its last two games: Score two touchdowns.
Getting the balance they haven't had since a season-opening win over the Green Bay Packers, the 49ers evened their record at 2-2 Thursday night with a 35-11 win over floundering NFC West rival the St. Louis Rams.
Running back Frank Gore rushed 20 times for 153 yards and a touchdown, while quarterback Colin Kaepernick hit 15-of-23 passes for 167 yards and a pair of scores. In its past two games, San Francisco managed just 10 total points in blowout losses against the Seattle Seahawks and Indianapolis Colts.
Kaepernick's 12-yard touchdown pass to Vernon Davis with 8:49 left in the third quarter capped an 88-yard scoring drive — San Francisco's third touchdown drive of 80 yards or more — and basically put the game away with more than a quarter and a half remaining.
That's because the 49ers' defense dominated the one-dimensional Rams. Limiting them to 18 yards on 19 rushes, San Francisco was free to tee off on quarterback Sam Bradford, who endured a long, miserable evening.
Bradford completed just 19-of-41 passes for 202 yards and was sacked five times, twice by NaVorro Bowman. The second sack led to a 49ers fumble recovery at the St. Louis 3, setting up Anthony Dixon's 1-yard scoring run with 10:15 remaining.
It was the third straight loss for the Rams (1-3), who didn't get into the end zone until Bradford hit Lance Kendricks with a 6-yard touchdown pass at the 5:44 mark of the fourth quarter.
Kendall Hunter tacked on a 29-yard scoring run for San Francisco with 4:25 left.
Niners receiver Anquan Boldin returned to form after two straight subpar games. Boldin beat Cortland Finnegan for a 20-yard score with 6:22 left in the half, giving the 49ers a 7-3 lead. Boldin finished with five catches for 90 yards. He had just six catches combined his previous two games.
NOTES: 49ers offensive tackle Joe Staley left the game late in the fourth quarter with an injury after a Rams player fell on the back of Staley's legs. ... Pro Bowl LB Patrick Willis (groin) was among the inactives for San Francisco, as was backup CB Nnamdi Asomugha.