In Displayr, it is possible to customize the overall look of the off-page elements of the document. By default, when a dashboard has been published and is being viewed, the Export menu has several exporting options. This article describes how to remove those buttons for specific documents or all documents in your account. Taking you from something like this:
To a view where some of the buttons are hidden, in this case, the PowerPoint export button:
Requirements
- A Professional Displayr license.
- Administrator-level access on your account.
- A little knowledge of CSS and HTML will be advantageous.
Please Note: While this article can serve as a guide, our support team cannot help with custom CSS coding, as it is well outside of our expertise
Method
To modify the settings to hide the header strip:
- Click on the User Icon in the top right-hand corner of the screen.
- Select Account Settings, and then switch to the Settings tab on your account page.
- Scroll down the page, you will see Edit theme CSS/HTML (advanced) option below the Announcement Message section. Click on the Edit theme CSS/HTML (advanced) option. This is where you can control the appearance of your published document.
- To remove the header strip for all documents in the company, paste the following text into the Cascading Style Sheet (CSS) box:
/* Turn off the PowerPoint button in the Export menu for all documents in the company */
To remove the header strip for a specific document, use:
body.dashboard.view #export-menu-powerpoint {display: none;}
/* Turn off the PowerPoint button in the Export menu for a specific document */
where XXXXXX is the Project ID of the document, which is shown in the document's URL:
body.project-XXXXXX.view #export-menu-powerpoint {display: none;}
- Click Save.
- Click on Share at the top of the page and then Publish to Web > Publish (or Publish > Republish if you have published the document previously).
- Click Open in new tab and observe that the Header Strip is now removed.
- OPTIONAL: To remove other elements of the Export menu, replace the code above with one of these::
-
- To remove the Excel button replace #export-menu-powerpoint with #export-menu-excel.
- To remove the PDF button replace #export-menu-powerpoint with #export-menu-pdf.
- To remove the Export button entirely replace #export-menu-powerpoint with #export-menu-button.
-
Next
How to Customize the Navigation Pane in View Mode
How to Hide the Document Name in View Mode
How to Center the Document Relative to the Entire Screen in View Mode