Standard templates for sidebars
To maintain a standard look and feel throughout the site, styles have been set up for sidebars. An example of the use of a sidebar is here.
Sidebars are floated to the left or right, and can have an optional title. Use the templates below to ensure conformance with CPHA's styles. The code in the examples below should be inserted immediately before the text in the main part of the page that will be beside the sidebar.
Note: If the sidebar does not appear to start on a clean line when it should, or if the material following the sidebar does not start on a clean line when you want it to, insert the following HTML code before or after the sidebar code, as required:
Sidebars are floated to the left or right, and can have an optional title. Use the templates below to ensure conformance with CPHA's styles. The code in the examples below should be inserted immediately before the text in the main part of the page that will be beside the sidebar.
Note: If the sidebar does not appear to start on a clean line when it should, or if the material following the sidebar does not start on a clean line when you want it to, insert the following HTML code before or after the sidebar code, as required:
<br style="clear: both;">
Right-floated sidebar with a centred heading. Heading goes here
Sidebar contents - anything can go here that normally goes into a content plugin, e.g. text, lists, images
Left-floated sidebar with a centred heading. Heading goes here
Sidebar contents - anything can go here that normally goes into a content plugin, e.g. text, lists, images
This sidebar contains no heading. Sidebar contents - anything can go here that normally goes into a content plugin, e.g. text, lists, images
This sidebar contains no heading. Sidebar contents - anything can go here that normally goes into a content plugin, e.g. text, lists, images
