Content properties

    Content properties allow you to add content to the :before and :after pseudo elements.

    Adding content properties to a style

    To add Content properties to a style:

    1. Navigate to the Style builder. This is available when you edit Base styles or Custom styles. For more, see Using the style builder
    2. Within the Style editor area, click on the Properties button
    3. Then select Content > (Select a Content sub-group) in the menu.

    The Content properties include the following groups of fields:


    • Image picker - Add an image as a content property.

    For details of each property, see Image content property.


    • Icon picker - Add an icon font as a content property

    For details of each property, see Icon content property.

    Strings and counters

    • Type - Set the type of content to a string, counter or custom string
    • Value - Set the string or counter content

    For details of each property, see Strings and counters properties.

    Counter reset and increment

    Note: Counter reset and increment are not technically Content properties but they are used with the Counter content property so they have been included within this group in the Style builder.

    • Counter reset - Resets the counter to start at 1
    • Counter increment - Sets how the counter will be incremented.

    For details of each property, see Counter reset and increment properties.


    Cohesion DX8 Help center

    Launch our Help center to raise a support ticket or search our knowledge base of common questions and answers.

    DX8 knowledge base icon

    Knowledge base

    Get instant answers to common questions. Available online 24/7.

    Find answers

    Raise a ticket icon

    Raise a support ticket

    Log in to the Help center to raise an issue. Available Monday - Friday, 09:00 - 17:00 GMT.

    Raise ticket