Complex sentence: All seems well, but when Effi's letters to Crampas are found by her husband, he decides to divorce and gets custody of Annie, whom he makes disdain Effi.
Split into simpler sentences: All seems well, but when Effi's letters to Crampas are found by her husband, he decides to divorce. Innstetten gets custody of Annie, whom he makes disdain Effi.