...
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.
Navigate to your Google Doc from your Google Drive.
Click
...
File >
...
Share >
...
Publish to
...
Web.
...
Click “Embed”.
Click “Publish”.
Click “OK” to confirm.
Copy the code.
Navigate to your myClubhouse site and the CMS page you want to add the Google Doc to.
Edit the page.
...
Insert a new block or component.
Click “Markdown”.
...
Paste in the code.
Save the page as a draft.
The Google Doc will likely not look correct on the page so now we need to tweak the styling.
Edit the page.
...
Edit the block.
Click “Edit Markdown”.
...
Within the iframe tag, add “style=”width:100%; height: 100%;” after “<iframe”, but before “src”.
Within the figure tag, add “style=”width:100%; height: 550px;” after <figure” but before “>”. You can replace 550px with a value of your choosing.
Save the page as a draft.
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.
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:
Navigate to Google Maps.
Find the location, likely your club.
Click “Share”.
Click “Embed a map”.
Click “COPY HTML”.
Navigate to your myClubhouse site and the CMS page you want to add the Google Map to.
Edit the page.
...
Insert a new block or component.
Click “Markdown”.
...
Paste in the code.
Save the page as a draft.
If the styling is not right, you can change the height and width options within the code, similar to the Google Doc example above.
Once happy with the Map, publish the page.
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.
...