Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Google Docs are an excellent collaboration tool for working on documents together. You sometimes also want to include the information in them in your CMS page, but don’t want to have to update the page every time the document changes. This is where embedding comes into play.

  1. Navigate to your Google Doc from your Google Drive.

  2. Click

...

  1. File >

...

  1. Share >

...

  1. Publish to Web.

...

  1. Image Added
  2. Click “Embed”.

    Image Modified
  3. Click “Publish”.

  4. Click “OK” to confirm.

    Image Modified
  5. Copy the code.

    Image Modified
  6. Navigate to your myClubhouse site and the CMS page you want to add the Google Doc to.

  7. Edit the page.

...

  1. Image Added
  2. Insert a new block or component.

  3. Click

...

  1. “Markdown”.

...

Click in the box, and then click the HTML button.

...

  1. Image Added
  2. Paste in the code.

  3. Save the page as a draft.

    Image Modified
  4. The Google Doc will likely not look correct on the page so now we need to tweak the styling.

  5. Edit the page.

...

  1. Image Added
  2. Edit the block.

  3. Click

...

  1. “Edit Markdown”.

...

  1. Image Added
  2. Within the iframe tag, add “style=”width:100%; height: 100%;” after “<iframe”, but before “src”.

...

  1. Image Added
  2. Within the figure tag, add “style=”width:100%; height: 550px;” after <figure” but before “>”. You can replace 550px with a value of your choosing.

...

  1. Image Added
  2. Save the page as a draft.

    Image Modified
  3. If you are happy with the styling, publish the page. If not, adjust the height in the figure tag to a size that works for your page. This may take a few attempts.

    Image Modified

Embed Google Maps

A map can be a great way to help your new and existing members and visitors find your club. While one can be included on the Contact Us page, you may want someone on another CMS page or the Home page. Follow the instructions below to embed a Google Map:

  1. Navigate to Google Maps.

  2. Find the location, likely your club.

  3. Click “Share”.

...

  1. Image Added
  2. Click “Embed a map”.

    Image Modified
  3. Click “COPY HTML”.

    Image Modified
  4. Navigate to your myClubhouse site and the CMS page you want to add the Google Map to.

  5. Edit the page.

    Image Modified
  6. Insert a new block or component.

  7. Click

...

  1. “Markdown”.

...

Click in the box, and then click the HTML button.

...

  1. Image Added
  2. Paste in the code.

  3. Save the page as a draft.

    Image Modified
  4. If the styling is not right, you can change the height and width options within the code, similar to the Google Doc example above.

  5. Once happy with the Map, publish the page.

    Image Modified

CSS

CSS is used alongside HTML to adjust how elements look on the page. Some styling will be generated from your site’s Site Styles and Colours, but you can further customise them for your CMS page. You have two main options for CSS in the CMS, inline styling or internal styling.

Bootstrap

myClubhouse has the standard bootstrap stylesheets running behind it so you can include any standard bootstrap classes and styles in your CSS. The page designs/styles should all be based on the 12-column grid system which is the basis behind the responsive design used throughout myClubhouse.

Info

Learn more about Bootstrap here: Bootstrap

Inline Styling

This involves adding styling to individual elements and tags within the code. Within a tag, simply add ‘style=””' and then add any CSS properties that you want to apply to the element. In this example, this paragraph’s font size will be doubled.

...

Internal styling is where you have a block with all your CSS in one place at the beginning of your HTML. You can use the style tag to then enter elements, classes, and id’sIDs. These styling options will be used throughout the page, except where there is inline styling, which takes precedence.

...