Our client's Experience Cloud site has some CSS code that another consultant implemented, but since I cannot get in touch with them, I hope any of you can help me out.

I am trying to figure out how to make the default error texts re-appear in our Experience Cloud File upload block.

We have a limit of 25 MB as file upload size on our Partner and our Customer Site. If I upload the exact same file I can see the error code on the Partner portal (there is no CSS set here)

Image example 1

However when i do the same on our Customer Site, I do not get the red text:

Image example 2

How can I make the text that is invisible on the second image, visible again? Which SLDS codes are used for this in CSS?


  • Have figured this out with the help of other community members, so for others in the future, here's the code that was hiding this text: .slds-text-body_small, .slds-text-body--small { font-size: 0.75rem; visibility: hidden;
    – Mille_B
    Commented Dec 12, 2023 at 11:12

1 Answer 1


If you are using LWC, you can use setCustomValidity method on it.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .