- Getting Started
- Liquid reference
- Filters reference
- Tags reference
- Localization
- Theme structure
- Theme sections
- Theme assets
- Theme config
- Theme layout
- Theme templates
-
- article.liquid
- blog.liquid
- cart.liquid
- collection.liquid
- customer/account.liquid
- customer/addresses.liquid
- customer/details.liquid
- customer/login.liquid
- customer/order.liquid
- customer/register.liquid
- customer/reset-password.liquid
- home.liquid
- page.no-heading.liquid
- products.liquid
- search.liquid
- list-collections.liquid
- store-locator.liquid
- 404.liquid
- customer/activate_account.liquid
- customer/orders.liquid
- Submission
settings
The settings object gives you access to the theme settings the merchant has saved. Each setting is referenced by the id defined for it in settings_schema.json, and the saved values are stored in settings_data.json.
Use {{ settings.<id> }} to return the merchant's saved value for that setting.
settings.<id>
Returns the merchant's saved value for the theme setting with the given id.
{{ settings.colors_text }}
#121212
Examples
Reference theme settings anywhere in your theme. For example, apply a saved colour or font, or read a saved logo.
<body style="background: {{ settings.colors_background_1 }};
font-family: {{ settings.type_body_font }};">
<img src="{{ settings.logo }}">
</body>
section.settings.<id>
Settings that are defined at the section level are accessed through the section instead of the global settings object, using section.settings.<id>.
{{ section.settings.title }}