{"title":"Style Block Object Reference","slug":"style-block-object-reference","url":"https://support.storeconnect.com/articles/style-block-object-reference","url_markdown":"https://support.storeconnect.com/articles/style-block-object-reference.md","subtitle":null,"summary":"Style Blocks contain CSS code that will be included on your web store.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Style Block, s_c__Style_Block__c, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nStyle Blocks contain CSS code that will be included on your web store.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Style_Block__c` |\n| **Label** | Style Block |\n| **Plural Label** | Style Blocks |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Active | `s_c__Active__c` | Checkbox | No | Defines whether the Style Block is active. Only active Style Blocks will be included on the website. |\n| Channels | `s_c__Channels__c` | MultiselectPicklist | No | The channels this style block applies to (e.g. web, pos). |\n| Content | `s_c__Content__c` | LongTextArea(131072) | No | The CSS code of the Style Block, without any \u003cstyle\u003e tags. |\n| Global | `s_c__Global__c` | Checkbox | No | Defines whether the Style Block is automatically included on the website. |\n| Media | `s_c__Media__c` | Picklist | No | Specifies what media/device the CSS style is optimized for. |\n| Position | `s_c__Position__c` | Number(18,0) | No | This defines the display order of the Style Blocks on the website. Lower numbers appear first. Only applies when Global is checked. |\n| Store | `s_c__Store_Id__c` | Lookup ([s_c__Store__c](store-object-reference)) | Yes | The Store that the Style Block belongs to. |\n| Stylesheet URL | `s_c__Url__c` | Url | No | The URL of an external Stylesheet to be included. If a value is specified, any value in Content will be ignored. |\n| StoreConnect External ID | `s_c__sC_Id__c` | Text(36) | No | StoreConnect External ID, do not modify in Salesforce |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Store_Id__c` | Lookup | [s_c__Store__c](store-object-reference) | Style_Blocks |"}