Forum Discussion
AndresEsteban
Helper I
2 years agoHow to hide the navigation bar
After having created a report and published it in Power BI Service (public link) I need to hide the navigation bar (see image) Is this possible? As far as I have been able to read it can be done by modifying the iframe code, however, where is this code located, how can I tree it to modify it? And if so, what would need to be changed?
Thank you
1 Reply
- ribisht17
Super User
Hi
Here you go!
You can refer the method from the last reply of mrothschild in the following thread:
Hiding Navigation Pane in iframe
This worked for me. I'm not a coder, so I don't understand why, and I used trial & error to get the right cropping using the numbers in "clip:rect" below, but beyond that, don't have a capacity to answer questions on this.
<div id="content"> <div style="height:580px;width:960px"> <iframe width="960" height="580" src="[URL LINK]" frameborder="0" height="100%" width="100%" style="position:absolute; clip:rect(0px,1100px,543px,0px); bottom:-0px; allowFullScreen="true" ></iframe> </div> </div>In addtion, you can achieve it by Javascript:
Ritesh
Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !!Power BI for Tableau Users