Versions Compared

Key

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

It is possible to use profile.config <PresentationSettings> to create a css class on a page. The method can be used to create css rules specific to pages identified by triggers in <PresentationSettings>.

Create a class in profile.config

Adjust PresentationSettings according to below to create a class. In below sample the start catalogue is given label “start” in Manager to use a trigger to create a class catalogue-start-view. The same technique can be used to create css classes on any presentation page, using any of the triggers in PresentationSettings.

Code Block
languagexml
<PresentationSettings>
   <Settings>
      <!-- Start page identified by setting label "start" on that catalogue in Manager -->
      <Trigger label="start"/>
      <!-- This class will appear on start page -->
      <Class>catalogue-start-view</Class>
   </Settings>
</PresentationSettings>

Css

The css will with the above settings get a class on the catalogue with label start.

...