Skip to main content

Insert a component in Studio

Open a page in Website > Studio and use Layout to add a component. You can use the same editor for your homepage, news, Contact and Rentals pages.

Add a contact button​

  1. Open the page that needs the button.
  2. In the Layout sidebar, search for Call to action.
  3. Drag it into the canvas where you want it. You can also Shift+click the sidebar item, or focus it and press Enter, to add it at the end.
  4. Select the component's edit icon. Enter the heading, body, button label and destination, such as /contact. Add French text if your website uses it.
  5. Choose a supported Width, then select Apply.
  6. Check Visual with Desktop, Tablet and Phone.
  7. Select Save for a private draft, then Publish when ready. With unsaved changes, Save and publish does both together.

Use the component reference for provider URLs, required fields and limits.

Arrange or remove components​

Drag a canvas card to move it. Drag it back out of the canvas, or Shift+click it, to remove it. Copies are independent: editing one doesn't change another.

Use Background change to switch the background from that point down, and its Background list to choose it. Removing a background change keeps its components and puts them on the background above. Use Gap for space and Separator for a dividing line.

Widths adapt automatically to tablet and phone layouts. The two languages share the same arrangement; translate the component's text rather than creating separate English and French components.

Add a component in Source​

Source uses a page composition. Insert a component instance into a section's instances array inside composition. A section is a background change in Layout. For example:

{
"id": "contact-button",
"component": {
"type": "cio-call-to-action",
"version": 1,
"heading": "Want to try curling?",
"body": "Contact the club to ask about your first visit.",
"action": {"label": "Contact us", "href": "/contact"}
},
"layout": {"span": 12, "presentation": "standard"}
}

Give each instance a unique ID. Keep the surrounding composition and the other instances you want to retain. This object is one instance, not a complete page. See JSON examples for complete compositions.

If a change is refused, check the reported field, supported width, component version, image readiness and record IDs. Records and media must belong to your club. Use approved provider components instead of pasting scripts or raw iframe markup into text.