@arminunruh perfect! works like a charm without messing up the layout.
one additional question:
is there a possibility to insert multiple ids in that code, or would i have to write the whole exclusion for every single id?
.type-thumbnailgrid .thumb[data-id="1729"]{
display: none!important;
}
.type-thumbnailgrid .thumb[data-id="1730"]{
display: none!important;
}
or:
.type-thumbnailgrid .thumb[data-id="1729, 1730, ..."]{
display: none!important;
}
thank you!