Joomla Frontend Editor hides under template or objects – SOLUTION
Problem: Your frontend editor in Joomla breaks the template or objects on your site when opened. Annoying indeed!
Solution: Amazing code
- <?php if ((@$_REQUEST["task"] == “edit”) || (@$_REQUEST["task"] == “new”)) { ?> – basically IF the editor is opened then…
- <style type=”text/css”>
.site_container2 {display:none;}
.site_container6 {width:100%;}
.site_container {height:100%;}
.copyright {display:none;}
This CSS is used (this code is used when editor is opened) - <?php } ?> – Close
<?php if ((@$_REQUEST["task"] == "edit") || (@$_REQUEST["task"] == "new")) { ?>
<style type="text/css">
.site_container2 {display:none;}
.site_container6 {width:100%;}
.site_container {height:100%;}
.copyright {display:none;}
</style>
<?php } ?>
Can’t take the credit here except it was buried and I found it




