Do penile implants affect the overall size of the penis or just the hardness?

No. Contrary to popular misconception, penile implants do not increase the length of the penis. They only increased the ability to have vaginal penetration and normal intercourse.
Hardness. Penile implants only increase the rigidity of the penis allowing penetration. It does not increase girth or length to the penis.