...
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”.
...
Click in the box, and then click the HTML button.
...
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
...
Click in the box, and then click the HTML button.
...
“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.
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.
...