Version:

    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
    DX8 knowledge base icon

    Frequently asked questions

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

    Find answers

    Raise a ticket icon

    Raise a support ticket

    To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

    Raise support ticket

    Acquia

    Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.