/
Using profile.config to create a css class
Using profile.config to create a css class
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>.
Version 4.5
The support to create custom css classes using profile.config is available in version 4.5 and later.
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.
Ā
, multiple selections available,
Related content
Adding a hero image
Adding a hero image
More like this
Technical documentation - Presentation settings in version 4.3 - 4.5
Technical documentation - Presentation settings in version 4.3 - 4.5
More like this
How to configure start page with images
How to configure start page with images
More like this
A presentation setting is not activated despite trigger and page gets messed up
A presentation setting is not activated despite trigger and page gets messed up
More like this
Technical documentation - Configuring node view in catalogue
Technical documentation - Configuring node view in catalogue
More like this
Technical documentation - Catalogue Navigator and Quick Navigator
Technical documentation - Catalogue Navigator and Quick Navigator
More like this