Stacks API

Come build with us.
Stacks API v13 for Stacks 5.0


  <   Templates Variable Reference


This content is open source. You can edit it and submit a pull request on GitHub.
This page is generated from this file.


© . YourHead Software all rights reserved.

Stack Instance ID

%id%

Available: Stacks API v2

Usage

%id%

Description

This keyword will be replaced by the HTML DOM id of inner element of the stack’s wrapper divs. This is the id of the “stacks_in” element.

Warning: Do not modify the CSS properties that the use sets such as border, margin, and padding. Doing so will confuse the user and may cause display inconsistencies in the Stacks edit mode user interface.

Example 1: used to limit the scope of CSS

adds a red border to all divs inside of your stack

#%id% div {
    border: 1px solid red;
}
© . YourHead Software all rights reserved.