Trying to read the text contents of a div

I am trying to check if a div contains the default text, if no reviews have been left. I want to change the text to something else. Trying to use the following code but without success as it wont save. Can anyone offer any help or advice. I should add this is an app, so I can’t edit the CSS directly hence using this approach. The conditional {%if%} {%endif%} is necessary to prevent the code from over-ruling the other default message that appears if there IS a review, which I don’t want to change.

Hi @topolino65

I guess it must have an option to translate text from that review app.

No there isn’t an option for that

Could you send me your store link to check?

www.ricambimoto.uk