...
Navigate to your Google Doc from your Google Drive.
Click “File” > “Share” > “Publish to Web” for Sheets, “File” > “Publish to Web” for Docs.
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 “Text”“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 in the box, and then click the HTML button“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.
...
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 “Text”“Markdown”.
Click in the box, and then click the HTML button.
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 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.
...