Remove "clear Content" From Editor - Question | JoomShaper

Remove "clear Content" From Editor

S

sdlsites

SP Page Builder 1 year ago

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.

0
7 Answers
Aris Ntatsis
Aris Ntatsis
Accepted Answer
1 year ago #148497

Try 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

0
Aris Ntatsis
Aris Ntatsis
Accepted Answer
1 year ago #148495

Have you tried to use the "!important" tag in your css overrides?

0
S
sdlsites
Accepted Answer
1 year ago #148496

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.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 year ago #148534

Hi

Thanks for contacting us. Is this ok now? You can follow Aris's instructions.

-Regards.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #148555

BTW

In futures updates we will Custom CSS for editor area, but for now you have to improvise.

0
S
sdlsites
Accepted Answer
1 year ago #148619

Yes! That did the trick. Thanks so much. Custom CSS editor would be incredibly helpful so definteily an upvote on that from me.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 year ago #148671

Glad to know that your problem is solved. Have a nice day :)

0