Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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.

<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.

  • No labels