Change text through conditional

Hi, I want to change the text, when the current page width is less than 760px. But the way I handled it, is apparently wrong, because there is an issue. (see picture at the bottom)
Does somebody know how to do it?

Best wishes


Hi Jacob,

You don’t need to include the “px” in the value - this expression is expecting a number value that we assume is in px.

So the expression should read “current page width < 760

I hope that helps!

1 Like

Thanks :smiley:

This topic was automatically closed after 70 days. New replies are no longer allowed.