Here is the sentence:
Struggling with the tight jeans, the zipper would not budge.
Good choice! You recognized that the modifier is dangling. Struggling with the tight jeans, a participle phrase, has no target in the sentence to describe.
To fix the problem, you could revise the sentence like this: Struggling with the tight jeans, Chris could not budge the zipper. Adding Chris to the sentence lets the reader know who should pick something different to wear!