Back to feed

Widget Custom CSS Not Saving

Empire · 4 days ago · 6 replies · 106

I've noticed a small issue with the Custom CSS field when editing a widget. If I remove all the CSS and save, the changes don't seem to clear the field.

If I put just: .in the box and save, it saves fine. But if I then remove the . and save again, the . comes back.

It seems the Custom CSS field won't allow itself to be completely empty.

Just wondering if this is intended behaviour or a bug?

Thanks.

6 replies
Cedric · 4 days ago

Which widget is this? As I have just tried it for a random widget and I could add CSS, and remove it completely, leaving it blank.

Empire OP · 4 days ago

Only tried it on two widgets, “Tell a friend” and “Board Statistics”

The only way I could get the Custom CSS box completely clear was to delete the widget completely and then add it again. After doing that, the CSS box was empty.

But you shouldn't have to do that. If you add CSS code to the box and later decide to remove it, then you should be able to simply delete the code, save the widget, and have the CSS removed.

At the moment, the CSS doesn't fully clear unless the widget itself is deleted and re-added. I even clear cached and nope

Cedric · 4 days ago

On Sep 18, 2026, empire said:

Only tried it on two widgets, “Tell a friend” and “Board Statistics”

The only way I could get the Custom CSS box completely clear was to delete the widget completely and then add it again. After doing that, the CSS box was empty.

But you shouldn't have to do that. If you add CSS code to the box and later decide to remove it, then you should be able to simply delete the code, save the widget, and have the CSS removed.

At the moment, the CSS doesn't fully clear unless the widget itself is deleted and re-added. I even clear cached and nope

It also depends what custom code you add to your site. The more custom code like JS and CSS you add, the more chance you have it will conflict with something. JS is a bit notoriously for creating conflicts. 😉

Empire OP · 4 days ago

On Sep 18, 2026, Cedric said:

It also depends what custom code you add to your site. The more custom code like JS and CSS you add, the more chance you have it will conflict with something. JS is a bit notoriously for creating conflicts. 😉

Well, I can’t work it out.. I disabled my main theme. Added a clean default theme and removed all that’s in “Board templates”

Still the dfdffddffdfd I put in as a text will not get removed

Cedric · 4 days ago

I logged in quickly; and deleted the text for you. There is indeed a bug in the ACP not allowing it to clear. The front end widget studio does allow it.

To be fair, we will likely retire the ACP widget manager as it is an entirely different code base and to prevent confusion in the future.

Empire OP · 4 days ago

Made me spend 10 mins looking at JS and CSS for conflicts, and turns out it was an ACP bug 🤪

Well, I use front-end for now, even thoughI’m used to it via ACP.. even on Invision, I’m used to doing it via ACP

Create a free account to join the conversation.
Sign up free
ForumSpark © 2023 - 2026 · ForumSpark.net · Terms