Drupal CMS: Sidebar
Learn about the about the sidebar feature in Drupal including how you can use it for inherited sidebar content on child pages.
This guide is aimed at
- PG Students
Before you start
You need to be a Senior Editor, Editor or Author
When editing, use Chrome, Firefox or Safari but NOT Internet Explorer
You can add extra information to the right-hand side of a landing page or page, but remember, when you view the content on a mobile device, this information will automatically be pushed to the bottom of the main content, so do not use it for important information! The sidebar field allows you to do this.
First of all, consider whether you need a sidebar:
- For example, if you have a left-hand navigation as well as a landing page with three columns, you may want to avoid having a sidebar to avoid it becoming too cluttered.
- On the other hand, you may have information that would be useful if was repeated on several child pages within a section. In this case sidebar is a good solution.
Secondly, will the Sidebar be part of a landing page or a page?
Use the table below to help you:
|New landing page|
When you create a new landing page, you can decide if you want a sidebar. You are asked to tick a box after you've given the page a title.
You cannot currently have content that is inherited between landing pages or from pages to landing pages.
|Existing landing page|
If you would like to remove the sidebar, untick the box when in editing mode.
Remember: child pages of this landing page will inherit the sidebar if the sidebar box on the child page is ticked and empty.
When you create a new page, you can decide if you want to inherit the sidebar from the above parent landing page or create your own, new sidebar.
To inherit, leave the sidebar empty.
|Existing page||If the page is inheriting the content from the above landing page, and you would like to add your own content, remove the tick and add the content.|