With the standard overhead press your arms are pointing forward (likely at a 45 degree angle) and as a result your both anterior deltoids (front delts) and lateral deltoids (middle delts) are worked very nicely.