I have a brick texture which I have made here:
And I would like to apply it to the red faces of this object:
However, this is the outcome of my attempt:
I would like to keep the bricks on that rectangular object the same as on the cube (first picture).
What approach should I take to handling this issue?
I have attached the blender file if you'd like to play around with it: