How to delete this section

How to delete this section (upper right corner the blue cubes) and how can I leave only 6 (where things are put and taken) cubes and not 36 as it is by default ?

You can set a custom loot panel and capacity in the configuration. As for UI, you could set all Background Offsets to 0s and it should work. However I would recommend against doing so.