Classes added in style.css dont reflect in the builder

I have added some tailwind utility classes in style.css, using bricks child theme. However, in the builder when adding those classes to elements, nothing happens in the builder. But if I save and open frontend, it shows up. I have gone through the documentation but I did not find anything related to this. Any insights on what I might be doing wrong?

1 Like

Hey Purushottam,
Welcome to the forum and thanks for reaching out!

You are not doing anything wrong, however, the system does not search the stylesheets within your child theme and accordingly does not automatically add them to the class list.

However, you can create a JSON file containing all your class names and then import it so you can use them in the builder (without having to enter them manually).

Just export your existing classes to a JSON file so you can see how the file needs to be structured. @KeviinCosmos did this already for ACSS. Check out his JSON File:

Best regards,
timmse