you must place a regular block while holding Shift, that places blocks in the background, making walls (same for breaking them, hold down Shift)