From: David Reese Date: Sun, 22 May 2016 16:14:07 +0000 (-0400) Subject: Docs: Clarify that `.off-canvas-content` container actually contains page content X-Git-Tag: v6.2.4-rc1~32^2~22^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F8829%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Docs: Clarify that `.off-canvas-content` container actually contains page content --- diff --git a/docs/pages/off-canvas.md b/docs/pages/off-canvas.md index 51f29a65c..c2eab602e 100644 --- a/docs/pages/off-canvas.md +++ b/docs/pages/off-canvas.md @@ -28,7 +28,7 @@ To start, create two wrappers to house the page. These are necessary to prevent Inside these wrappers, create an off-canvas menu with the class `.off-canvas` and the attribute `data-off-canvas`. The menu also needs a positioning class, which can be `.position-left` or `.position-right`, and an attribute set for the position, `data-position="left"` or `data-position="right"`. Last, make sure the off-canvas has a unique ID so it can be targeted. -Along with the menu, the main content of your page will be housed in its own container with the class `.off-canvas-content` and attribute `data-off-canvas-content`. +Along with the menu, the main content of your page will be housed in its own container with the class `.off-canvas-content` and attribute `data-off-canvas-content`. (This may be confusing, since the css namespacing means you will be putting your actual page content under a class of "off-canvas-content".) ```html