Tagged: DeBug Mode, event manager
Hallo zusammen,
im WordPress Backend erscheint beim Aktivieren des Plugins Event Manager ein grüner Rahmen um den Editor herum.
Soweit ich es erkennen kann, hängt das mit dem Enfold-Debug Modus zusammen, siehe Screenshot.
Kann man den grünen Kasten mit einem Child-Theme CSS-Snippet ausblenden und könnt ihr soetwas zur Verfügung stellen?
Viele, sonnige Grüße!
Hi Simon!
Do you mind creating a temporary admin login and posting it here privately?
Cheers!
Yigit
Hey Yigit,
here you go. It seems to me, that the green border is connected to layout-builder debug mode (which I need from time to time to copy/paste layoutbuilder content). After deactivating the Event Manger plugin and reloading a page in the backend, the green border vanishes. Please try for yourself, of course.
It is just a small gap, not a show-stopper. :)
I think I could solve it with a CSS-snip, but maybee you are interested in removing this gap with one of the next enfold versions.
Cheers!
Hey!
Please add following code to Quick CSS
.debug {
color: transparent !important;
background: transparent !important;
margin: auto !important;
padding: 0 !important;
border: none !important;
}
Regards,
Yigit
Heyho,
I added your code to Quick CSS field (for both languages), as well as in custom.css of child-theme.
I did hard refresh multiple times of course, to ensure new css is loaded.
But the snip didn´t do the trick.
Best regards,
Simon
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
function admin_head_func() {
?>
<style>
.debug {
color: transparent !important;
background: transparent !important;
margin: auto !important;
padding: 0 !important;
border: none !important;
}
</style>
<?php
}
add_filter('admin_head', 'admin_head_func');
Cheers!
Josue
Dear Josue,
thank you for your help. This way, I was successfull.
Issue solved!
Cheers!