Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

The HTML Style macro adds an a <style> element on your page. You can enter any CSS properties in its body that you want ot be applied on your page.

Adding the Macro

Edit your page.

Select "+" => Other macros

Type in "html" in the Search box

Select the "HTML Style" macro

Macro Options

This macro has no parameters.

Body

You can put CSS attributes into the body.

Here is an example in combination with the HTML Footer element:

Will display like this:



Style
div#main-content.wiki-content {
   font-size: 1.2em !important;
   font-family: Segoe UI, sans-serif !important;
}
.wiki-content .contentLayout2 .columnLayout .cell
{
  padding-left: 0px;
  padding-right: 0px;
}