The Document download button can be used on all pages with either a sidebar (on the left) or a highlight box (aligned within text on the right).

It provides a clickable button for important documents that you wish to highlight on your page. You can see a live example on the right of this page.

Give it a try

1. Before continuing make sure you add a highlight box widget to your page.

To add content types to a highlightbox, the highlightbox area must be 'activated'.

2. Create one hidden section (page) called HighlightBox (case sensitive) as a sub-section (child) of the section where your highlightbox will live.

This section must be named HighlightBox (case sensitive) and hidden from the navigation in order to work.

Below is a screen shot showing a hidden HighlightBox section, a grey folder indicates that the section doesn't show in the navigation and is hidden:

highlightbox folder structure

3. Add a Download button - HighlightBox, Sidebar content type to your hidden HighlightBox section. (Find out how to add a content type to a section).

4. A form will appear. Fill in the form as below.

NB: There are six fields, the first two are compulsory and one of the two link options should always be used.

Download button content type fields

Field title What should I do? Is it compulsory?
Name* Name the button and give it a concise description e.g. Download button - training page Yes
Link Text* This is the text that appears in the button (Max 128 characters) Yes
File Type Add the file type, for example, PDF, DOCX, TXT, WORD (always use CAPITAL LETTERS)  No
File Size Add the size of the file, for example, 25MB, 2KB (always use CAPITAL LETTERS and no space)  No
Link Internal Use the Select link to add a Media Library document link (max 2048 characters) OR No, but buttons must link to somewhere
Link External Copy and paste URL from external website, the URL must be hosted outside the CMS (max 640 characters) No, but buttons must link to somewhere

Select 'Highlighted' for a navy button

Select 'Not highlighted' for a white button

No, it will default to highlighted which will create a navy button

 Select Add & Approve to save.

Add and approve

Find out how to add the Add a document download button in a sidebar