SAN FRANCISCO — The Giants are looking for something, anything, to give them a spark after a second consecutive losing homestand dropped them out of first place in the NL West.

“We’re too good to have a homestand like this,” Giants manager Bruce Bochy said after watching his team drop a 7-2 decision to the St. Louis Cardinals on Thursday, ending a 2-8 run at home. “I don’t think anybody saw this coming. We know it’s unacceptable.”

Since sweeping a series against the New York Mets at home June 6-8, the Giants have won just three of 17 home games.

Former Huskies star Tim Lincecum won both games of the homestand, needing a no-hitter and a shutout to secure the wins.

“You’d like to see things turn around quicker than they are,” Giants starter Madison Bumgarner said. “We’ve shown signs. You’re going to have adversity every year and you have to keep grinding it out. You can’t give in. You keep pushing forward.”

Notes

CC Sabathia’s return to the New York Yankees has been set back because of swelling in his injured right knee one day after making his second rehabilitation start.

• Texas Rangers right-hander Yu Darvish had his start pushed back one day after rain delayed the start of the game against the Orioles.

• The Colorado Rockies activated third baseman Nolan Arenado from the 15-day disabled list and optioned left-hander Christian Friedrich to Class AAA Colorado Springs.

• The Oakland Athletics finalized an agreement on a 10-year extension to play at the Coliseum through the 2024 season.

• The rooftop owners surrounding Wrigley Field agreed not to sue the Chicago Cubs if the team sticks to last year’s plan to install just two advertising signs in the outfield, two owners said.