Some informational pages will be heavy on text, and online content is best split into chunks. Readers are more likely to read and understand content when it is split up into headings or lists.
When your general pages are particularly wordy, you'll need to make sure that your page isn't just one very long scroll of text. There are several ways you can do this; you could use accordions or tabs to split up your content under important headings, or you could divide the pages into sections. This allows the content to be contained on one page but provides your community with a less daunting display of information that is easy to read and navigate.
Note: 'Divide this page into sections' is a feature that is only available on OC General pages.
How to Divide a page into sections
- Make sure your general page has all the content you need and the headings for each section are styled properly
- Expand the 'Divide this page into sections' menu in the Overview tab of the page
- Choose the heading level by which you want to divide your content from the 'Divide page by...' dropdown menu
- Choose how you want your sections to display from the 'Display...' dropdown menu. Read about the different display options below.
- Choose if you want your section headings to be numbered, by checking or unchecking the 'Include numbering in heading' box
- Save and Preview your page to ensure your sections are displaying correctly
- Publish your page
Section display options
The sections feature uses heading levels to organise your sections. You can display your sections using a table of contents, sections links or both. You also have the option of numbering your headings. If the first part of your page does not have a heading, it will be given the heading 'Overview' when divided into sections.
Table of Contents: Displays the heading sections in a table of contents above the content area |
|
Page sections: Displays next and previous section buttons below the content area for manual navigation |
|
Table of Contents & Page Sections: Displays the heading sections in both the table of contents above the content area and navigation buttons below the content area Note: in this example, the 'Include numbering in heading' box has not been checked, in comparison to the examples above. When this occurs, the table of contents becomes a bulleted list. |
If your sections are not displaying, there might be a problem with the heading level styling. If the headings have any ID or styling in them, which you will be able to see in the HTML, the page will not divide into sections. In the HTML tab of the WYSIWYG Editor, your heading should be between clear tags and should look like this: '<h2>Sample heading</h2>'
If your sections are not displaying, you need to make sure there is no extraneous information in the heading tags. A common problem to look for are extra <div> tags. As another example, code like this would not work: <h2 id="______">Sample heading</h2>.
What else?
- Learn more about how to create a general page
- All general page templates include the sections feature. Learn more about general page templates and their uses
- Manage the General page module settings