> For the complete documentation index, see [llms.txt](https://help.tryfreedesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tryfreedesk.com/platform/builder/global-styling.md).

# Global Styling

Global Styling is your site's design system in one place, instead of manually styling every individual element, you define your fonts, colors, buttons, and layout defaults once, and they apply consistently across every page. Update a setting here and it updates everywhere it's used, site-wide.

To discover the global styling tab, select the paintbrush in the left side panel:

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2FIRPiR2KczYJPUZYMXKyE%2Fdsf555.PNG?alt=media&amp;token=2c560f69-415f-46ea-a54b-19760c8a35f4" alt=""><figcaption></figcaption></figure>

Once open, you will now see a list of current additional that you can add global styling to:

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2F9Rwue1eeQX8fyaOG6HFf%2FGroup%201686551569%20(1).png?alt=media&amp;token=14f6fcd8-b013-4c01-9d66-302cdab79d5b" alt=""><figcaption></figcaption></figure>

## **Text Styling:**

This is where you set the default typography scale for your entire site — controlling how every heading level and text type looks, with independent sizing for desktop and mobile.

#### **Why use it:**

* **Consistent hierarchy across every page**: H1s, H2s, and body text always look the same wherever they're used, so pages feel unified rather than pieced together.
* **Responsive by design**: set separate sizes for desktop and mobile, ensuring text stays readable and well-proportioned on every screen without manual adjustments per page.
* **One place to fine-tune readability**: adjust sizing sitewide in seconds rather than resizing text element by element.

### **What's included:**

* **H1–H6**: default font sizes for each heading level, with independent desktop and mobile values
* **Paragraph text**: default body text size for both breakpoints
* **Quote text**: styling for blockquote/testimonial-style text
* **Hyperlink color**: the default color for linked text across the site, so links are consistently recognizable wherever they appear

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2FdI4MWv9xyzgW7fBNElTZ%2FGroup%201686551570%20(2).png?alt=media&amp;token=d8d33c42-93ee-4f08-9d43-59b7fb48e7b5" alt=""><figcaption><p>Desktop Text Styling</p></figcaption></figure>

And by selecting the **mobile icon** in the Text styling tab, you'll be able to set all your mobile font sizes to:

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2FLYjb4U9jxR3SsuARkOwX%2FGroup%201686551571.png?alt=media&amp;token=5546e0b3-4e82-472b-b53a-9ce96c7b6089" alt=""><figcaption><p>Mobile Text Styling</p></figcaption></figure>

### **Add Fonts**

Selecting a **new font** opens the Google font list with over **1,000 font options**. You can use up to **8 fonts at once**. We recommend using no more than 3 fonts to maintain branding consistency, readability, and optimal site performance.

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2Faxtz60ooR3jLHHwRWCVJ%2FGroup%201686551572.png?alt=media&amp;token=9a256ced-0119-44fb-b952-00f684c32660" alt=""><figcaption></figcaption></figure>

### **Upload Custom Font**

If you have your own font, and want to use it within your design. Select the Upload Custom Font and drop in your font file link, into the releating box: File in WOFF or File in OTF / TTF

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2FxtmYHnl6o46hzKpoqcTP%2FGroup%201686551573.png?alt=media&amp;token=ff94d6c5-aa02-476c-9df7-b5a4bf5aeeec" alt=""><figcaption></figcaption></figure>

### **Color Palette**

This is where you define the core colors used across your entire site, primary, secondary, and background colors that every element (buttons, headlines, accents, etc.) can pull from. Change a color here and it updates everywhere it's applied, keeping your site visually consistent without manually re-coloring each element.

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2FGr9gxQLfGwkTc3ZU9bEz%2FGroup%201686551573%20(1).png?alt=media&amp;token=29d51c83-5ecc-44b3-a222-df827abd84e6" alt=""><figcaption></figcaption></figure>

* **Palette Presets**: ready-made color schemes to apply in one click, or keep your custom palette
* **Primary Color**: the main theme color used in major places (buttons, links, highlights)
* **Secondary Colors**: supporting colors for text, backgrounds, and contrast elements
* **Background Color**: the default background color applied across all pages

#### **Color palette presets:**

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2FzhQgB4ywfAwbgSZWKI5G%2Fs36.PNG?alt=media&amp;token=ce575c0e-497f-4fe3-a427-a0d0ba478185" alt=""><figcaption></figcaption></figure>

### **Website Layout**&#x20;

This controls the overall structural footprint of your site, how wide your content stretches and whether it fills the full browser width or sits within contained margins. Since it's a global setting, changes here apply consistently across every page.

* **Grid Width**: sets the maximum width of your site's content area (e.g., 1280px), controlling how much horizontal space content uses on larger screens
* **Layout Style**: choose between:
  * **Full Width**: content stretches edge to edge with no side margins
  * **Bordered**: adds space to the left and right of the content, which can be filled with a preset background or a custom image for a framed, contained look

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2FSdSB79P385xTkwWXU9ym%2Fsd43453.PNG?alt=media&amp;token=8b4c4a5d-2417-419b-a624-966bd11ef75b" alt=""><figcaption></figcaption></figure>

### **Buttons**

This lets you build reusable button style presets, defining exactly how buttons look and feel, and apply them anywhere you use a button widget across your site, with independent styling for desktop and mobile.

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2FPNERUbMOMVQb4FikeeXN%2FGroup%201686551573%20(2).png?alt=media&amp;token=8529967e-a32b-4db9-96eb-3ccc2f2f037f" alt=""><figcaption></figcaption></figure>

#### **Why use it:**

* **Consistent CTAs everywhere**, every "Buy Now," "Get Started," or "Learn More" button pulls from the same preset, so buttons look intentional and on-brand across every page.
* **Multiple presets for different contexts**: create separate styles for primary actions vs. secondary/ghost buttons, so you can visually distinguish importance without manually restyling each one.
* **Update once, apply everywhere**: edit a preset and every button using it updates automatically, no need to hunt down and restyle individual buttons.
* **Responsive control**: desktop and mobile toggle lets you fine-tune padding, sizing, or spacing independently for each screen size.

### **Headline Pill**

This is the global counterpart to the individual [Headline Pill](/platform/widgets/basic/headline-pill.md) element, instead of styling each pill one by one, you build reusable pill presets here and apply them wherever you use the element across your site, with independent styling for desktop and mobile.

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2Fsck9HYjwrZ2Pbat5iOBO%2FGroup%201686551574.png?alt=media&amp;token=ad7e20a2-d132-4462-a5ac-8d71360185fe" alt=""><figcaption></figcaption></figure>

#### **Why use them:**

* **Consistent labeling across pages**: every pill (e.g., "Upper Headline," "New," "Featured") shares the same look, keeping this small but frequent design element on-brand everywhere.
* **Multiple presets for different contexts**: create separate pill styles for different uses (e.g., a bold "Featured" pill vs. a subtle category tag) without restyling from scratch each time.
* **Update once, apply everywhere**: edit a preset and every pill using it updates automatically.
* **Responsive control**: desktop/mobile toggle lets you adjust sizing independently per device.

### **Page Styling**

Unlike the rest of Global Styling, Page Styling only affects the individual page you're currently working on,not your whole site. It's the place to set a background image or color for a specific page without impacting any other pages.

<figure><img src="https://57691663-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonFoP9j5RNCqIeRvMA0j%2Fuploads%2FjFCTofgYxW4OL6sRPLva%2FGroup%201686551574%20(1).png?alt=media&amp;token=b30ec3c8-c4c5-4f99-b356-945248cf579a" alt=""><figcaption></figcaption></figure>

#### **Styling options:**

* **Background Image**: upload an image to display behind all content on the page
* **Background Image Repeat**: control how the image behaves within the page area:
  * **Fixed**: image stays in place, doesn't scroll or tile
  * **Repeat**: tiles the image both horizontally and vertically
  * **Repeat Horizontally / Repeat Vertically**: tiles in one direction only
  * **No Repeat**: shows the image once, at its natural size
  * **Cover whole area**: scales the image to fill the entire page background
* **Background Color**: set a solid background color for the page (used instead of, or alongside, an image)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.tryfreedesk.com/platform/builder/global-styling.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
