I like the new layout of the website. It looks very clean.

I need help with this.

"My family were of the middle class"

Is this correct in terms of grammar?
And is there a better way to write it?

Family is singular so it should be

My family was of the middle class.