Double click the output cell instead
EDIT: From murrays comment:
tutorial/WorkingWithCells
: "To specify which cells remain visible when the cell group is closed, select those cells and double-click to close the group."
You can only hide cells within groups, not individual cells. Here is a link to the docs for more info.