How do I remove the header and menu completely

Hi my first post so be gentle :blush:
I am trying to use an Iframe in another website to display the gauges from my dashboard,
I have it setup and working fine except the header from the dashboard looks awful.
Is there a way to remove the header and the menu completely from the dashboard so I can just display the gauges.

You can hide the header (title bar) in the dashboard options. The menu shouldn't become visible when you select the "Click to show side menu" option.

image

Wow how did I miss that!
Thank you Kuema

so not so gentle then.... ?!?

6 Likes

Yeh good point. Sorry
I should have said it did not fit in with my Wordpress theme.

1 Like

Hi! Here's a useful template-ui to hide the menu toolbar only if loaded in an iframe but shows the toolbar when loading dashboard directly, that way it is much easier for admin to browse all your pages while limiting page access to certain users, set the following script's ui-template type to "Added to site section":

<script>
if (window.top!=window.self){
    // In a Frame or IFrame
    document.body.classList.add('iframed')
}
</script>
<style>
  .iframed #toolbar {
    display: none;
  }
</style>