Hide sidemenu but keep time search and variables

Hi there,

I have seen a couple of people posting about a similar problem but I can’t seem to find a solution that works.

I would like to hide the Grafana sidemenu when it is embedded in a web application.

I am aware of the kiosk and kiosk-tv options, however the variables that I have added disappear in these cases.

I have also seen suggestions to use CSS and set display to none for the sidebar but changing the style of an iframe embedded child page does not work cross domain.

Are there any other options?

Thanks in advance.