In Displayr, it is possible to customize the overall look of the off-page elements of a published document. For instance, it's possible to hide the document name. By default, Displayr places the name of the document in the top left-hand corner of the published dashboard. In the example below, a heading has been created in the yellow box on the page, so having the heading appear in the top left corner undermines the design.
This post describes the steps required to take you from a state in which the Document name (e.g. Choice Simulator) appears...
...to a state where it is hidden:
Requirements
- A Professional Displayr license.
- Logged into Displayr as an Administrator.
- A Displayr Document published as a Web Page.
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.
Please note this requires the Data Stories module or a Displayr license.
Method
To modify the settings and hide the document name:
- Login into Displayr.
- In the top right-hand corner click on the User Icon and select Account Settings.
- In Account Settings, select the Settings tab.
- Scroll down the page, and select Edit theme CSS/HTML (advanced). This is where you can control the appearance of your published document.
- To turn off the document name for all documents, paste the following text into the Cascading Style Sheet (CSS) box:
/* Turn off the document name for all documents in the company */
To turn off the document name for a specific document only, use the following text:
body.dashboard.view .project-name-text { display: none; }
/* Turn off the document name for a specific document */
replacing XXXXXX with the Project ID of the specific document. You can find the Project ID in the document's URL:
body.project-XXXXXX.view .project-name-text { display: none;}
- Click Save.
- Go back to your Document.
- 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).
- Select Open in new tab. A published version of the Document will open in a new tab with the document name hidden.
- OPTIONAL: You can also hide the Last published text in the top left corner following the above steps, and replacing the code in Step 5 with the below:
/* Turn off the document name for all documents in the company */
or
body.dashboard.view .project-name-text { display: none; }
/* Turn off the last published text for a specific document */
body.project-XXXXXX.view .last-published-text {visibility: hidden;}
Next
How to Customize the Navigation Pane in View Mode
How to Remove the Header Strip in View Mode
How to Center the Document Relative to the Entire Screen