I was on Zoloft for several years and yes it does put the weight on.
All SSRI's can cause weight gain and also loss The same ones can cause either in different patients as we all react individually to medications. But yes, Zoloft can cause weight gain. ( or loss or it might be weight neutral). good luck