One more question. I’m trying to add code to change the background color on a cell in an area where the template doesn’t offer a color change option. I used the ai assistant to generate the code I needed, but when I added it to the cell css it didn’t work. I double checked that I have the correct box number, but when I do the “run” generate nothing happens
Started a new topic for this ![]()
Can you share the code it gave you? And where you tried adding it?
I think this article will help - Studio Editor: About CSS Editing | Help Center | Wix.com
TL;DR of things to get it working:
- It should be added to the global.css file when code is enabled
- You’ll want to move to a semantic class, combined with a custom class. Something like:
.my-custom-class .box { background-color: #D1BCBC; } - And then add your custom class name to the selected element (on the right side of your screenshot, where you have “Properties & Events”, choose the “CSS Classes” and add your custom class. In my example, it would be
my-custom-class
ok I’ll try that. thank you!
