@gannonatwork, next to the collection component (class name: collectionName
), you need to add a text/rich text component and name its class emptyMsg
.
#page-root:has(.collectionName > div > .component-root > div > div > div:nth-child(2)) [data-testid="wire-container-emptyMsg"]{
display:none;
}
/*This second code can be removed because the component is essentially visible.*/
#page-root:not(:has(.collectionName > div > .component-root > div > div > div:nth-child(2))) [data-testid="wire-container-emptyMsg"]{
display:block;
}