Adultery has have zero effects on child custody as long as there is nothing inappropriate taking place in front of minor children. In some situations, a court may order one party to keep their partner away from the kids for a certain period of time if they believe that is in the best interests of the children. This is especially likely if the children are in need of therapy or if there is any kind of stress on them.