#category-list.custom_close .current-cat-parent .children, #category-list.custom_close .current-cat .children { display: none; } Maybe something like this? Nothing is changing if i do this:(