# Creating and editing styles

## **What are Styles?**&#x20;

**Styles** are a set of layout elements: fonts, headings, text and background colors, indents, dividers, icons, and buttons.&#x20;

You can create unique styles for different types of content.&#x20;

## Creating a Style <a href="#h_083479e9-7bc9-429e-8551-e683eba7a3dd" id="h_083479e9-7bc9-429e-8551-e683eba7a3dd"></a>

There are three ways you can create a style:

* [**Quick setup**](#h_33ad421b-6501-439d-953e-fd1764bd8f85)**:** Once you set your [Setka Editor account](https://editor.setka.io/login), we offer you to create your first simple style. If there are any styles created already, you can start a quick setup by choosing to **Create custom style** **>** **Quick setup** in **Styles** option from your Setka Account.
* [**Advanced setup**](#h_aab87907-48fb-4b69-ac8f-7123d0e61530)**:** Choose all fonts, colors, and other layout tools yourself with the help of an advanced setup. To create a style in this mode, open **Styles** in your [Setka Account](https://editor.setka.io/login) and choose to **Create custom style** **>** **Advanced setup**.
* From a copy of an already created style. To do that, open the **Styles** section in your [Setka Account](https://editor.setka.io/login) and hover your mouse over the needed style badge. You will see a **Style actions** menu in the upper right-hand corner, click on it and choose **Duplicate.**&#x20;

### Quick setup <a href="#h_33ad421b-6501-439d-953e-fd1764bd8f85" id="h_33ad421b-6501-439d-953e-fd1764bd8f85"></a>

In a quick setup mode, you can only choose a color palette and a font combination. The result will be seen in an example right under the menu:

![Quick setup and Advanced setup options when creating a custom style in Setka Content Design System Manager](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQn-ONS4l7Rv9Ltai20%2F-MQn_11Ekc8Bi6_5EUa9%2FAdvanced-Setup-for-Styles-Setka-CDSM-1.png?alt=media\&token=742cc9da-dfdc-4e95-af40-f8573f3388fc)

Any color can be replaced with the one that is used in your branding:

![Choosing a Color in Quick setup for Styles in Setka Content Design System Manager](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQn-ONS4l7Rv9Ltai20%2F-MQnZvMSlBJO6UmYhAnE%2FQuick-Setup-for-Styles-Setka-Editor-2.png?alt=media\&token=f9be86b0-57db-40d1-bfbd-e932ef211a34)

Save your style and choose it when creating your first post.&#x20;

You can edit a style created in a quick set-up mode by adding any other elements, e.g., fonts, icons, button layout, etc. To do that, you need to opt for an [advanced setup](#h_aab87907-48fb-4b69-ac8f-7123d0e61530).

### Advanced setup <a href="#h_aab87907-48fb-4b69-ac8f-7123d0e61530" id="h_aab87907-48fb-4b69-ac8f-7123d0e61530"></a>

To set your style manually, you need to open the Styles section in your [Setka Account](https://editor.setka.io/login). Then choose to **Create custom style** **>** **Advanced setup**:&#x20;

![](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQn-ONS4l7Rv9Ltai20%2F-MQna1hBJoCocQhds29m%2FAdvanced-Setup-for-Styles-Setka-CDSM-1.png?alt=media\&token=53652d8f-0035-4854-a2fe-e0df79834d8d)

All styles are being edited in an **Advanced setup** mode.&#x20;

You can read more about style elements in the following articles:&#x20;

{% content-ref url="text-formats-and-fonts" %}
[text-formats-and-fonts](https://setka.gitbook.io/help-center/content-design-system-manager/text-formats-and-fonts)
{% endcontent-ref %}

{% content-ref url="text-and-background-colors" %}
[text-and-background-colors](https://setka.gitbook.io/help-center/content-design-system-manager/text-and-background-colors)
{% endcontent-ref %}

{% content-ref url="dividers" %}
[dividers](https://setka.gitbook.io/help-center/content-design-system-manager/dividers)
{% endcontent-ref %}

{% content-ref url="../setka-post-editor/icons" %}
[icons](https://setka.gitbook.io/help-center/setka-post-editor/icons)
{% endcontent-ref %}

{% content-ref url="../setka-post-editor/buttons" %}
[buttons](https://setka.gitbook.io/help-center/setka-post-editor/buttons)
{% endcontent-ref %}

{% content-ref url="components" %}
[components](https://setka.gitbook.io/help-center/content-design-system-manager/components)
{% endcontent-ref %}

Click **Save** at the bottom of the page to save your changes. Do not forget to publish your style to have it available in the editor.&#x20;

{% hint style="info" %}
**Important:** the changes you make will be applied to **all** posts created with this style.
{% endhint %}

### Preview

The preview panel on the right reflects the changes you make. Here you see and change the way your style elements (text formats, colors, etc.) collocate with each other:

![Style Settings Preview panel in Setka Content Design System Manager](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQn-ONS4l7Rv9Ltai20%2F-MQnb-jX3ZHLEOWsExod%2FStyle-Settings-Preview-Setka-CDSM.png?alt=media\&token=6abc5a3c-1cec-47a9-877d-7dc79867fe00)

Use buttons **Desktop** / **Tablet** / **Mobile** in the upper part of the screen to change a device type:&#x20;

![Desktop, Tablet and Mobile Style Settings in Setka Content Design System Manager](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQn-ONS4l7Rv9Ltai20%2F-MQnbFn1TOv1GLZEMR2P%2FDesktop-Mobile-Tablet-Style-Settings-Setka-CDSM.png?alt=media\&token=e439a113-dbbe-423d-844d-7488d6c9d442)

If you want to check the way your font goes with some definite phrases or how the font lays on the definite symbols, change the preview text with the help of the **Edit** button in the upper right-hand corner:

![Paragraph Preview Text Editing in Setka Content Design System Manager](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQncUknBX99UWcEPr1a%2F-MQnd_eZCIBy5AFcGAdA%2FParagraph-Preview-Text-Editing-Setka-CDSM.png?alt=media\&token=79d71b06-354b-4aa0-ab59-2fffe1177b8c)

Choose your text and click **Save** to apply the changes:

![Saving changes for Paragraph preview text in Setka Content Design System Manager](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQncUknBX99UWcEPr1a%2F-MQndfuIG1r49ULP-3W7%2FSaving-Changes-Paragraph-Preview-Text-Settings-Setka-CDSM.png?alt=media\&token=d13e3ef0-08d4-444f-9276-0a6c5f910f1a)

Click **Restore default** to return to the default text:

![Restore default Paragraph preview text in Setka Content Design System Manager](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQncUknBX99UWcEPr1a%2F-MQndjf39IT-s5NHf8gT%2FRestore-Default-Paragraph-Preview-Text-Setka-CDSM.png?alt=media\&token=7357aa54-0699-44de-9a65-705b03dc90a9)

### How can Style changes impact the already published posts? <a href="#h_ad246b9b-a2f8-46ad-8004-4cab334d07b5" id="h_ad246b9b-a2f8-46ad-8004-4cab334d07b5"></a>

All changes you make and save are being applied to all posts created with this style.

#### Adding elements

Existing posts will not be changed in case you add new style elements like colors, dividers, text formats, or buttons. You can save the changes in the same post style.

#### Removing elements <a href="#h_4e171505-1ae8-4020-a9e4-4862959b52c1" id="h_4e171505-1ae8-4020-a9e4-4862959b52c1"></a>

Existing posts will be affected if you **remove** style elements (icons, dividers, buttons, etc.), update text formats, or apply any other changes to style elements used in posts that are already published.

To avoid affecting already published posts, copy your style by clicking **Save** -> **Duplicate style.**

#### Here are some examples of changes in a style that can affect already published posts: <a href="#h_838b4d9f-62d9-435d-b1dc-73c9ca4fe125" id="h_838b4d9f-62d9-435d-b1dc-73c9ca4fe125"></a>

* **Significant changes to the font size**. As a result, some words might not fit in the columns.
* **Deleting icons.** For example, if you delete numerical icons, your post's structure might be lost.
* **Deleting dividers.** For example, if you delete dividers for quotations, it will be unclear that this text is direct speech.

#### Changes in Design Cloud posts

Style changes will not be applied to already exported and published posts created in Design Cloud. To make your changes applied to an already published post, you need to export it again from the **Posts** section in your [Setka Account](https://editor.setka.io/login) after saving your style.

## Publishing your Style <a href="#h_fed8916b-9445-4548-b7ef-b9f2e99d94b2" id="h_fed8916b-9445-4548-b7ef-b9f2e99d94b2"></a>

A new style will be saved as a **Draft.** You can edit style drafts in your Setka Account. To use a new style, you need to publish it by clicking **Publish**. Preinstalled styles are marked with an icon <img src="https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQneYQUbTG-GndS8fxd%2F-MQnfsCwob-ScKvafcxc%2FSetka-Icon-Preinstalled-Styles-Content-Design-System-Manager.png?alt=media&#x26;token=8028c642-fc21-4cd2-8685-cd6a4f5c6e9f" alt="" data-size="line"> .

![Publishing custom style in Setka Content Design System Manager](https://1843290185-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MLOEPbfEK4119w2ROYc%2F-MQneFr-9AUwtxmfRx_i%2F-MQnePdWHws1B0WlaXof%2FPublishing-Style-in-Setka-CDSM.png?alt=media\&token=312281e2-30a8-456d-be6c-d786a9f8daf2)

## Working with Styles <a href="#h_57204e2b-d1eb-4e8a-9e7b-d2d9a2a86917" id="h_57204e2b-d1eb-4e8a-9e7b-d2d9a2a86917"></a>

### Styles renaming <a href="#h_fff47ba0-8a9c-409a-85f2-24f734587ee6" id="h_fff47ba0-8a9c-409a-85f2-24f734587ee6"></a>

To rename your style, open it in the **Styles** section in your [Setka Account](https://editor.setka.io/login) and choose the **Style** **name** option in the left menu. Apply changes by clicking on **Save**.

### Activating/deactivating styles <a href="#h_628fccbf-712f-4af6-a41a-b86ad26c1794" id="h_628fccbf-712f-4af6-a41a-b86ad26c1794"></a>

To deactivate your style, do the following: open **Styles -> ... (Style actions)** and click **Disable.**

Deactivated styles will not be available for new posts, but you will be able to change them in posts already created on them.&#x20;

To activate a style, open the **Styles** section and click on **Make active** in a style's badge.&#x20;

### Deleting a style <a href="#h_b8acfcc7-e1e9-43ec-b979-0edd6ae72cfe" id="h_b8acfcc7-e1e9-43ec-b979-0edd6ae72cfe"></a>

To delete a style, open **Styles -> ... (Style actions)** and click **Delete this style.**

{% hint style="info" %}
**Important:** Before deleting a style, make sure that there are no posts created with it as such posts will completely lose the overall layout.
{% endhint %}

Confirm your action by clicking on the checkbox next to **I don’t have posts that will be affected by this action.** Finish deleting by clicking on **Delete Post Style.**

### Setting a default Style <a href="#h_d7febcc6-7295-406d-82bb-b7964b4bfc9b" id="h_d7febcc6-7295-406d-82bb-b7964b4bfc9b"></a>

To set a default style for new posts open **Styles -> ... (Style actions)** -> **Set as default**. There is only one style that can be chosen as a default one.&#x20;

### Copying a Style <a href="#h_167ab90e-58fd-4ad7-805b-d7abe9835faa" id="h_167ab90e-58fd-4ad7-805b-d7abe9835faa"></a>

To copy an already created style, open the **Styles** section in your Setka Account and mouse over the style's badge. In a **Styles action** menu (in the upper right-hand corner), choose **Duplicate**.

## Components <a href="#h_e47a11e2-4681-42ea-938e-9309970a051e" id="h_e47a11e2-4681-42ea-938e-9309970a051e"></a>

Components are saved inside each style as well as there is a set of components for each style. You can learn more about the components in these articles:

{% content-ref url="components" %}
[components](https://setka.gitbook.io/help-center/content-design-system-manager/components)
{% endcontent-ref %}

{% content-ref url="broken-reference" %}
[Broken link](https://setka.gitbook.io/help-center/content-design-system-manager/broken-reference)
{% endcontent-ref %}

## Templates <a href="#h_b5e90ee2-db84-405d-80fc-a308cf1da4ab" id="h_b5e90ee2-db84-405d-80fc-a308cf1da4ab"></a>

As well as components, templates belong to a definite style and are being edited via Content Design System Manager (CDSM). You can learn more about templates from our article Post Templates.

## Custom CSS <a href="#h_d05fa8e6-4085-4ba6-b8d1-21e796efeb0f" id="h_d05fa8e6-4085-4ba6-b8d1-21e796efeb0f"></a>

In case you want to apply additional properties to style elements that are not available in the Content Design System Manager (CDSM), you can opt for Custom CSS-codes.

To do this, click the **Custom CSS** link in the bottom left panel of the CDSM. In the pop-up window, you can enter the CSS-code.

You can read more about Custom CSS hacks in our article [Custom CSS - advanced features for your layout design.](https://setka.gitbook.io/help-center/setka-post-editor/custom-css#h_a34efa14-685a-4473-88d2-d726df37610c)

## Styles for Setka Editor free plan <a href="#h_1c5775bd-7558-4991-8ea3-a249e6d72716" id="h_1c5775bd-7558-4991-8ea3-a249e6d72716"></a>

You can create as many styles as you need on a Free plan. However, only 2 of them will be available: one of our preinstalled styles and one of your custom ones. To use a new custom style, disable the one that is currently active:

There are three conditions under which your plan can be downgraded to Free:

* 14-day Demo plan expiration
* 14-day Trial plan expiration
* Non-renewal of your subscription plan.

To continue using several custom styles at once, renew your paid subscription. You will be able to activate your inactive styles after renewal.
