Within the main QGIS window I group my layers in an attempt to have some sort of order within my project. When I come to create Layout and I want to add a legend I sometimes find that I want to remove the group name from the grouped layers within the legend.

This, however, leaves a 'gap' within the legend where the group name should be. Is there a way to 'collapse' that, so all the entries in the legend are evenly spaced?

1 Answer 1


Select the legend, go to Item Properties > Legend Items and uncheck the box Auto update. Then right-click on the Group you want to remove and check the box Hidden.

Here, group2 is hidden: enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.