Pre-pregnancy diet does not directly determine the gender of your child. The gender of a child is determined by the genetic material of the parents, namely the sex chromosomes carried in the father\’s sperm. If the sperm carries a Y chromosome, the child is male; if the sperm carries an X chromosome, the child is male.