# Global Stylesheets

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FM4gJrKpueWnbJpiNYr4A%2FScreenshot%202023-09-03%20at%2011.46.17.png?alt=media&#x26;token=6b53692a-3c8a-4893-98a9-dcb81c86cb8d" alt=""><figcaption></figcaption></figure>

The Global Stylesheets property allows you to add your own custom CSS rules when you are unable to find exactly what you need.

{% hint style="danger" %}
You can create as many global stylesheets as required.!!! You can create as many global stylesheets as required !!!
{% endhint %}

{% hint style="danger" %}
The stylesheets are deactivated by default to allow you to try things out before applying them and to have keep a few styles in reserve.
{% endhint %}

{% hint style="danger" %}
No need to minify or prefix your properties, Cwicly creates a minified version of your stylesheet for optimised delivery on the frontend.
{% endhint %}

## Add

This allows you to add a new Global Stylesheet.

* Open the Cwicly Global Classes and Stylesheets tab.
* Open Global Stylesheets tab.
* Open the All tab.
* Click ➕ to add a new Global Stylesheet.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FNp5LoMjqYgA8NePT3JnZ%2FScreenshot%202023-09-07%20at%2010.58.21.png?alt=media&#x26;token=f3c8991f-09c1-4d25-a2ef-262221b8ae87" alt=""><figcaption></figcaption></figure>

* Input a suitable name.
* Click "Create".

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FxmhIufHAZQVKWWhya1dB%2FScreenshot%202023-09-07%20at%2011.03.28.png?alt=media&#x26;token=d38a4a86-47b1-41f3-bc26-b615982683a7" alt=""><figcaption></figcaption></figure>

* Click name to open code modal.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F4xbZjyoiLXchvuw2pEFB%2FScreenshot%202023-09-07%20at%2011.05.08.png?alt=media\&token=4133900e-92c3-4e43-8903-515b24cf3419)

## CSS Code

The Global Stylesheets property allows you to add your own custom CSS rules when you are unable to find exactly what you need.

* Input required CSS code.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FdZEqsVqKoB8GB69y0Ew8%2FScreenshot%202023-09-07%20at%2011.06.25.png?alt=media\&token=3d790914-2715-4645-ad13-6f656aa4d9eb)

### Edit in Modal

This property allows you to edit your CSS code in modal.

* Click name to open code modal.
* Click Edit in Modal to edit your CSS code.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FHDDZlpQqc0JDiBAoyNBs%2FScreenshot%202023-09-07%20at%2011.24.47.png?alt=media\&token=4680443d-667d-4a1a-b81a-d783aabc7fdb)

### Word Wrap

This property allows you to wrap long words on to the next line of code.

* Click name to open code modal.
* Click Word Wrap.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2Fa4rrf7GZPHH8b8BZxiaB%2FScreenshot%202023-09-07%20at%2011.26.01.png?alt=media\&token=ede29830-1cf3-4979-a290-8a55311049f8)

### Beautify

This property allows you to have your code automatically cleaned up and made pretty.

* Click name to open code modal.
* Click Beautify.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FMoXVYJjACw0aN8aseOad%2FScreenshot%202023-09-07%20at%2011.26.46.png?alt=media\&token=cf15b313-6ac2-4ecd-8ded-cc9f81cc929d)

### Close Modal

* Click Back to close modal.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FAG9hvTmCehSujz38Q2Jb%2FScreenshot%202023-09-07%20at%2011.07.36.png?alt=media\&token=8bf6d8d5-69c3-4450-bfc4-baaf15beaced)

## Copy

* Open the Cwicly Global Classes and Stylesheets tab.
* Open the Global Classes and Stylesheets tab.
* Open Global Stylesheets tab.
* Find desired Global Stylesheet.
* Click to open CCS code.
* Click Copy icon to copy.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FWFM4BCOkbEUtaYj8aSp9%2FScreenshot%202023-09-07%20at%2011.08.33.png?alt=media\&token=3b207606-918f-410b-b753-32594ea908ad)

## Remove

You can remove the Global Stylesheet in two ways.

* Open the Cwicly Global Classes and Stylesheets tab.
* Open the Global Classes and Stylesheets tab.
* Open Global Stylesheets tab.
* Find desired Global Stylesheet.
* Click  🗑 (trash) to remove.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FVfLu1108pXLSE1YMRznE%2FScreenshot%202023-09-07%20at%2011.10.04.png?alt=media\&token=b41de5f6-77f5-46fd-9cf6-11e609773d53)

* Alternately,
* Find desired Global Stylesheet.
* Click to open CCS code.
* Click Bin icon to remove.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FRr7cfrfaUTgtdiX4QXeD%2FScreenshot%202023-09-07%20at%2011.12.50.png?alt=media\&token=58aa138c-23bc-4482-9837-71f2aa77c8bb)

## Activate/Deactivate

The Global Stylesheet can be activated/deactivated in two ways&#x20;

* Open the Cwicly Global Classes and Stylesheets tab.
* Open the Global Classes and Stylesheets tab.
* Open Stylesheets tab.
* Find desired Global Stylesheet.
* Click button to activate/deactivate.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FvgQFQLmUyChbfjmWxaN9%2FScreenshot%202023-09-07%20at%2011.14.36.png?alt=media\&token=2d8b15a8-6643-42d3-bcca-542523497b14)

* Alternately,
* Find desired Global Stylesheet.
* Click to open CCS code.
* Click activate/deactivate  to activate/deactivate Global Stylesheet.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F3Sxy5tomzhCjvo3oMfon%2FScreenshot%202023-09-07%20at%2011.11.03.png?alt=media\&token=4468f30c-1868-4f31-9e0f-f8c56415456a)

## Search Global Stylesheets

To speed up your workflow, the Search bar allows you to find a Global Stylesheet rapidly and efficiently.

* In the Global Stylesheets tab, find the Search bar.
* Input the name of the Global Stylesheet you wish to locate.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FKrTvK2gfbMo9XspYdX3o%2FScreenshot%202023-09-07%20at%2011.15.33.png?alt=media\&token=58687d9c-abe9-4b9f-baef-9e4b2768b47f)

## Select Folder

This property allows you to select the Folder to which you wish to add a particular Global Stylesheet.

* Open the Global Stylesheet which you wish to add to a folder.
* Click "Select folder"...
* Input name of folder (or select in dropdown) to which you wish a Global Stylesheet to be added.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F9Hxg1Sp2I3U6cM0zkWUH%2FScreenshot%202023-09-07%20at%2011.49.55.png?alt=media\&token=17fc8574-f576-434d-9add-964540ca7570)

## Folders&#x20;

From here you can add a Global Stylesheet Folder, search for a particular Folder and visualise, reposition or delete existing Folders.

* Open Global Classes and Stylesheets tab.
* Open Global Stylesheets tab.
* Open Folders tab.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FF2GrmE5RG2onyn8yk1Hf%2FScreenshot%202023-09-07%20at%2011.47.02.png?alt=media\&token=09780685-a83d-4181-9f90-16fe3c0fb92b)

### Add

This property allows you to create a new Global Stylesheet Folder.

* Open Global Classes and Stylesheets tab.
* Open Global Stylesheets tab.
* Open Folders tab.
* Find Global Stylesheets Folders and click "+" to open the Add Global Stylesheets Folder modal.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FhZgl2IhGhSNJGJC0SCDW%2FScreenshot%202023-09-07%20at%2011.53.28.png?alt=media&#x26;token=c638355c-ad78-48dd-86e6-13c0bd2d5c6a" alt=""><figcaption></figcaption></figure>

* Input a suitable name and click Create.

<figure><img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FVaVnGScL5Iwk89KoPe6B%2FScreenshot%202023-09-07%20at%2011.56.28.png?alt=media&#x26;token=31ff9ee9-006a-4736-8c96-d05dbb4f940f" alt=""><figcaption></figcaption></figure>

### Search

The search property allows you to locate a required Global Stylesheet Folder.

* Open Global Classes and Stylesheets tab.
* Open Global Stylesheets tab.
* Open Folders tab.
* Input a Folder name in the Search bar.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FX2DnAAPcU8ug63e3W6bn%2FScreenshot%202023-09-07%20at%2011.59.09.png?alt=media\&token=cdc0d17f-ee90-4718-9288-b3b6ee66429c)

### Remove

The Remove property allows you to delete a Global Stylesheet Folder.

This does not delete the individual Global Stylesheets.

* Open Global Classes and Stylesheets tab.
* Open Global Stylesheets tab.
* Open Folders tab.
* Click Remove icon next to Global Stylesheet Folder to be deleted.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FDPdaoGlacH9jdjRZEWdf%2FScreenshot%202023-09-07%20at%2012.00.24.png?alt=media\&token=58a41363-5011-4f8e-8602-2ce0ab414ec1)

### Open

* Open Global Classes and Stylesheets tab.
* Open Global Stylesheets tab.
* Open Folders tab.
* Click  Global Stylesheet Folder to be opened.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F7qh4YndAFib3rw3pASey%2FScreenshot%202023-09-07%20at%2012.02.05.png?alt=media\&token=d2b56e7a-5495-4d42-b1ee-a900b83ccad4)

### Modify name

You can change the name as required.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FySCiuqfebYA9Cjh17SV9%2FScreenshot%202023-09-07%20at%2012.04.37.png?alt=media\&token=24c2a76c-fcbb-4baf-bd1f-472541ba1760)

### Search

The Search property allows you to locate a Global Stylesheet Folder.

* Input Global Stylesheet Folder name into Search bar.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FbDopLdxRXGDAwHp35uoP%2FScreenshot%202023-09-07%20at%2012.05.49.png?alt=media\&token=367361c2-0c1f-499d-8553-74ad31fac03f)

### Edit

You can edit a Global Stylesheet Folder by selecting the required Folder in the list.

* Open Folders.
* Select required Folder in the list.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FOdUC3Nr6JxIMw3xb855y%2FScreenshot%202023-09-07%20at%2012.08.25.png?alt=media\&token=5330d408-6782-4968-8bdd-380abbe32b37)

* You can now edit the CSS as required.

See [CSS Code](#css-code)

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2F5xmH1bxN20IS76tqlN7C%2FScreenshot%202023-09-08%20at%2012.04.09.png?alt=media\&token=2b036a89-68fd-4839-84e4-6a0384a121c7)
