Does the size of a battery effect the strength of an electromagnet?

No, a higher voltage potential is what effects the strength of an electromagnet.