CSS tools does not work with an expression in the field

Hi,

I am enjoying CSS tools so much. It helps me have more design flexibility.

I think it doesn’t work if I place a dynamic expression in the field(Your CSS area).
Is this a Pro feature??

07

It works perfectly fine if I use plain text like the following:

45

ID attribute is also works fine with an dynamic expression.

Please check my sample page to see what I mean here:
https://bubble.io/page?type=page&name=testfailed&id=titl-forum0722&tab=tabs-1

If this is for the CSS tools Pro, I can’t wait to buy that. @jarrad @levon

Hey Rio, @jarrad suggests using this instead js, $(‘SearchForThing’).css(‘background-color’, ‘#fefa11’)

Ah, do I have to run Javascript?
Well, time to start learn new things…

I’ll come back to this thread when I manage to find solution.
Thanks anyway.

Rio

I made it! Thanks @levon and @jarrad

26

It worked just fine once I put “#” before the expression.

1 Like

Sorry to bring back with another issue related to this.
I noticed that the second element with the same ID attribute is not working.

Is this supposed to be like this? I hoped it works like the CSS “class”.
Thanks in advance. @jarrad

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