Is there a way to remove the "Clear Content" button from the frontend editor? This will probably cause a lot of problems for us. I have tried CSS and scripts, but it seems like the pagebuilder loads outside of the template overrides.
Remove "clear content" from editor
Accepted answer
Marked as the solutionTry to put
.builder-list-item.builder-list-item-delete.builder-list-item-action { display: none!important; }
in the editor.css file, located in /components/com_sppagebuilder/assets/css
Note that you may have to do it again after updating the SPBB, as I do not know any way to make overrides in this folder
4 more replies
Have you tried to use the "!important" tag in your css overrides?
Yes. I tried that in a few different spots. When I do it through the browser inspector, it works but when it is applied to the template or a script, it doesn't work. I am assuming that the editor ignores template overrides.
Hi
Thanks for contacting us. Is this ok now? You can follow Aris's instructions.
-Regards.
BTW
In futures updates we will Custom CSS for editor area, but for now you have to improvise.
Yes! That did the trick. Thanks so much. Custom CSS editor would be incredibly helpful so definteily an upvote on that from me.
Glad to know that your problem is solved. Have a nice day :)