Style - Liquid Object Reference
On this page
Description
The Style object contains information about a block of Stylesheet code.
:::note
This object supports custom data via the data attribute.
:::
Attributes
| Attribute | Type | Description |
|---|---|---|
active? |
Boolean | Returns true if the Style is active |
content |
String | Returns the content of the Style |
global? |
Boolean | Returns true if the Style is global |
id |
String | Returns the Style’s unique id |
media |
String | Returns the Media attribute for the Style |
position |
Number | Returns the position of the Style |
url |
String | Returns a url for an external Style |