How can I texture a room?

Hi,
I have a simple problem: I want to texture a cube, the top and bottom should have individual materials and the other four sides, the “walls”, should also have an own material.
The problem is that the vertex groups are on a vertex and not on a face basis, so the vertex group for the four walls automaticly includes the top and the bottom. Is there a way to solve this?
Thanks for answers in advance,
Mohij

if ive understood correctly the problem can be solved by going to face select mode and selecting the four faces around the sides and setting the materials and then selecting the top and bottom faces and assigning a new material to them

Thanks, that worked.
:expressionless: Stupid me, I mixed up the vertex groups and the materials.
Thanks :stuck_out_tongue: