The force exerted by a magnetic field on a stationary electric dipole is not zero. In fact, it is twice a vector product of the magnetic moment (m) of the dipole and the magnetic field (B). Hence, the force experienced by the stationary dipole is given by the equation:
$$F = 2m \times B$$
Where, "x" represents a vector (cross) product.