Skip to main content

stylesheet

CSS styles included in section, block, and snippet files.

Each section, block or snippet can have only one {% stylesheet %} tag.

To learn more about how CSS that's defined between the stylesheet tags is loaded and run, refer to the documentation for stylesheet tags.


Caution

Liquid isn't rendered inside of {% stylesheet %} tags. Including Liquid code can cause syntax errors.


Syntax

{% stylesheet %}
css_styles
{% endstylesheet %}
css_styles

The CSS styles for the section, block or snippet.

Was this page helpful?