Counter reset and increment properties

    Set the Counter increment name and a Counter reset.

    Counter reset

    The Counter reset should be added to a parent element to reset counters within it. For example, you can apply the Counter reset property to the Body base style to reset all counters with a specific name.

    Expected values:

    • Custom ident - The name of the counter. For example, Section
    • Number (integer) - Use this after a Custom ident to reset the counter to a specific starting number. For example 'Section 2' will reset the Counter 'Section' to start at 2
    • None - Cancels any reset applied to a less specific rule.

    You can reset multiple counters at the same time and reset them to start at different numbers. To reset multiple counters at different starting numbers, add multiple Counter reset name-number pairs, separated by a space. For example, Section 1 Chapter 2 Month 0 

    Counter increment

    Expected value:

    • The name of the counter. For example, Section
    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