Hillary Clinton is losing her lead over Republican rival Donald Trump in Pennsylvania, after her big post-convention bump.

In a new Franklin and Marshall College poll released Thursday, the Democratic nominee leads Trump by 7 points, 47-40, among likely voters. She led 49-38 after the convention.

Her lead is also smaller, 43-39, among registered voters.

Clinton's smaller lead appears to be the result of her worsening approval rating. In July, 47 percent of registered voters in Pennsylvania approved of her, but that fell to 38 percent. Also, 54 percent of voters see her unfavorably, and that number was under 50 percent in July.

Trump is viewed favorably by 37 percent of registered voters, up from 33 percent in July, and is seen unfavorably by 58 percent, down from 62 percent.

Though Clinton leads among more subgroups than Trump, the billionaire businessman leads among those in the lowest education groups, those living in rural counties and self-described conservatives.

Trump holds a large lead among whites with a high school degree or less, 52-35, but Clinton has a sizable advantage among college-educated whites, 50-29. Trump has a slight advantage when it comes to white men, 41-38, and Clinton's lead is bigger among white women, 45-38.

The poll conducted Aug. 25-29 was of 736 registered voters, including 358 Democrats, 286 Republicans, and 92 Independents. The overall margin of error is plus or minus 4.6 percentage points.