The Adaptavist Group LogoDocumentation

Customize Centre With CSS

You can combine the centre macro with the CSS Style Sheet macro to apply CSS to the content. For example, you can change the size and color of the text,

Change the Font Color and Size

  1. Select the Center macro and click Edit.
  2. In the CSS Class field input a name eg. content-text
  3. Add a CSS Style Sheet macro to the page.
  4. Inside the CSS Style Sheet macro type the CSS for the text you want. Remember to use the CSS Class you used in your Center macro. eg. the following gives green 20pt text.
  5. Enter your desired content then save the page. Text entered in the macro is centered on the page or within the container.

Published Result

Search documentation

Start typing to search the docs.