Do STI treatments affect breastfeeding?

No. I assume you're referring to antibiotics for sexually transmitted diseases... No, cephalosporins and zithromax are perfectly safe.