So to boost the odds of having a girl, mothers should say, yes, to calcium and magnesium (think yogurt, spinach, tofu, almonds, cashews, beans, oatmeal, broccoli and oranges) and, no, to salt and potassium (anchovies, olives, bacon, salami, smoked salmon, shrimp, potatoes, processed meats, bread and pastries).