I had that ‘Gravity’ stand from Lidl. Its in the loft now…even with the main post 3 inches from the wall (resting against a rad at the bottom and a spacer at the top) my handlebars still touched the wall as the arms aren’t long enough.
Also, although it appeared stable without the big screw and rawl plug it comes with, I had to fit it as it tended to lean drunkenly to the right as the post is in three sections and the fit is quite loose.
Storing the bikes with the back wheel on the floor and the front wheel in a wall hook takes up a surprising amount of space, the handlebars stick into the room. If you are pushed for space you haven’t really got a choice, you either loosen the stem and rotate the bars or remove the front wheel.
Another possible option is to get a big old sturdy wardrobe off the free-ads, pine or other solid wood. Stick it in the room and you mount your shelving brackets/hooks to the inside top or back of the wardrobe, remove front wheel and hang bike/s in the wardrobe, riding gear and other crap will go on shelves, then you shut the doors and forget about it. There was a photo doing the rounds on Facebook a while back with a wardrobe like this.