# Style Block Object Reference

Source: https://support.storeconnect.com/articles/style-block-object-reference · Last modified 21 August 2026

## Overview

Style Blocks contain CSS code that will be included on your web store.

| Property | Value |
|----------|-------|
| **API Name** | `s_c__Style_Block__c` |
| **Label** | Style Block |
| **Plural Label** | Style Blocks |
| **Type** | Custom Object |

## Fields

| Field Label | API Name | Type | Required | Description |
|-------------|----------|------|----------|-------------|
| Active | `s_c__Active__c` | Checkbox | No | Defines whether the Style Block is active. Only active Style Blocks will be included on the website. |
| Channels | `s_c__Channels__c` | MultiselectPicklist | No | The channels this style block applies to (e.g. web, pos). |
| Content | `s_c__Content__c` | LongTextArea(131072) | No | The CSS code of the Style Block, without any <style> tags. |
| Global | `s_c__Global__c` | Checkbox | No | Defines whether the Style Block is automatically included on the website. |
| Media | `s_c__Media__c` | Picklist | No | Specifies what media/device the CSS style is optimized for. |
| 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. |
| Store | `s_c__Store_Id__c` | Lookup ([s_c__Store__c](store-object-reference)) | Yes | The Store that the Style Block belongs to. |
| 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. |
| StoreConnect External ID | `s_c__sC_Id__c` | Text(36) | No | StoreConnect External ID, do not modify in Salesforce |

## Relationships

| Field | Type | Related Object | Relationship Name |
|-------|------|----------------|-------------------|
| `s_c__Store_Id__c` | Lookup | [s_c__Store__c](store-object-reference) | Style_Blocks |

---

## Follow StoreConnect

- [Email Newsletter](https://getstoreconnect.com/c/lp-newsletter)
- [LinkedIn Newsletter](https://www.linkedin.com/build-relation/newsletter-follow?entityUrn=7444956928444862464)
- [YouTube](https://www.youtube.com/channel/UCngKdP2x8l1wcbAKW3tvU8g)
- [LinkedIn](https://www.linkedin.com/company/storeconnect)
- [X / Twitter](https://x.com/storeconnecthq)

## Popular Links

- [Partners](https://getstoreconnect.com/partners)
- [News](https://getstoreconnect.com/articles/news)
- [Events](https://getstoreconnect.com/articles/events)
- [Feature Comparison](https://getstoreconnect.com/how-we-compare)
- [Download a free trial](https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FMkeKUAT)
- [Book a Demo](https://getstoreconnect.com/contact)

## Documentation

- [Help documentation](https://support.storeconnect.com/help-documentation)
- [AI agents](https://support.storeconnect.com/ai)
- [Videos & tutorials](https://support.storeconnect.com/videos-tutorials)
- [Developer reference](https://support.storeconnect.com/developer-reference)
- [Release notes](https://support.storeconnect.com/release-notes)
- [Troubleshooting](https://support.storeconnect.com/troubleshooting)
- [Trust Center](https://trust.getstoreconnect.com/)
- [Status Page](https://status.storeconnect.com/)

## Contact

- info@getstoreconnect.com
- US +1 415 745 3230
- AUS +61 2 8365 2308

100 S Ashley Dr, Suite 600-2461
Tampa FL 33602-600 USA

Level 22, Sydney Place
180 George Street
Sydney, NSW, 2000, AUS

---

StoreConnect Support — https://support.storeconnect.com/articles/style-block-object-reference