D2L Help Articles

Find help articles on specific D2L tasks related to Themepack.

How To Add A Content Body

Learn how to add a content body to your page in D2L.

Step by Step:

  1. Click on the caret next to the page title.

    step 1
  2. From the dropdown, select the "Edit HTML" option.

    step 2
  3. Select the element directly above where you want to add a content body.
    (In this example, I'll select the blockquote to find the content directly above where I want to insert a content body.)

    step 3
  4. While the element is selected, click on the "view source code" button.

    step 4
  5. Locate the content body code that contains the element you highlighted.

    step 5
  6. Locate the small arrow on the left side and click it to collapse the content body so it looks like the image below.

    step 6
  7. Create a new line underneath it and copy and paste this code. Now it should look like the image below.
    (Please note that in most cases the first element within a content body is an <h2> element.)

    <div class="content-body">
      <h2>Heading Here</h2>
      //...enter content here
    </div>
    step 7
  8. Click on the "save" button to save your changes.

    step 8
  9. You should now see your content body in the page.

    step 9