its not clear to me what you want to do. with the layout, you can only make the grid height change depending on the layout options you use but there wont be empty lines there. this has nothing to do with layout. for this, you might need some css.