How can i add material to a group of meshes

so i have a simple wall which uses construction code

and creates new mesh colons using this, but i cant seem to fix the material.

any captains that can solve the issue with the materials having obvious gridlines?