Does cold effect the strength of a magnet?

no. Not nesseicerally