# Heading

The Heading widget adds a title to a page, with an optional second part in its own style, a link, gradient or animated-gradient text and decorative ornaments. Use it when you want more control over a title than the plain Elementor heading gives. You find it in the **Jupiter X Elements** category of the Elementor panel as **Heading**.

![The Heading widget controls open in the Elementor panel, with the Second Part field highlighted](https://sample-help.artbees.net/media/50b37a659ba519609a8e2589527c4304cd41811f615894aabcabd23f297aaa69.png "Content tab of the Heading widget")

## Before you start

- Jupiter X Core must be active. The widget is part of it.
- Edit the page with Elementor, then drag **Heading** onto the page.
- The widget is free. No license is needed.
- **Heading** must be turned on in **Manage Elements** (it is on by default). If it is missing from the panel, see [Manage Elements](docs:search?q=Manage%20Elements%20turn%20widgets%20on%20or%20off).

## Add a two-tone heading

:::steps
### Add the widget

In the Elementor panel, search for **Heading** and drag it into a column or container. It starts with the text "Add your text heading here" as an `h2`.

### Write the title

In **Content › Title**, type your text. The field accepts HTML such as `<br>` or `<em>`. Use the database icon to fill it from a dynamic tag instead.

### Add a second part (optional)

Type text in **Second Part**. It appears after the title and gets its own style section in the **Style** tab. Leave it empty for a normal single-style heading.

### Choose the tag and layout

Open **Settings** and pick the **HTML Tag**. If you added a second part, choose **Parts Layout** (**Inline** or **Stacked**).

### Style it

Open the **Style** tab. Set the color in **Heading**, then style the **Second Part** section (the **First Part** section styles the title once a second part exists).
:::

![The configured heading on the page: dark first part, blue second part](https://sample-help.artbees.net/media/b8da9f8e6a6069bcfb7abbc479469ac711d283ef85b40994faa109971caf19bb.png "A two-tone heading, centered")

## Reference

### Content tab

| Setting         | What it does                                                                                                                                                | Options / range         | Default                    |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------- | -------------------------- |
| **Title**       | The heading text. Supports dynamic tags. Nothing is rendered when the title is empty, even if a second part exists.                                         | Text (multi-line field) | Add your text heading here |
| **Second Part** | Optional text shown after the title with its own style, for two-tone headings. Supports dynamic tags.                                                       | Text                    | Empty                      |
| **Link**        | Makes the whole heading (both parts) a link. Supports dynamic tags. The gear icon opens **Open in new window**, **Add nofollow** and **Custom Attributes**. | URL field               | Empty                      |

The link accepts the normal web protocols plus `skype` and `viber` addresses. **Open in new window** adds `target="_blank"`; **Add nofollow** adds `rel="nofollow"`; custom attributes are added to the `<a>` tag.

### Settings section

| Setting                 | What it does                                                                                                     | Options / range                      | Default |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ------- |
| **HTML Tag**            | The element the heading is printed as.                                                                           | H1, H2, H3, H4, H5, H6, div, span, p | H2      |
| **Parts Layout**        | Whether the second part sits on the same line or below. Only shown when **Second Part** has text.                | Inline, Stacked                      | Inline  |
| **Space Between Parts** | Adds a space between the two parts. Only shown when **Second Part** has text and **Parts Layout** is **Inline**. | Yes, No                              | Yes     |
| **Ornaments**           | Turns the decorative lines on. Shows the **Ornaments** section in the Style tab.                                 | Show, Hide                           | Hide    |

### Style tab: Heading

| Setting               | What it does                                                                                                                            | Options / range                                                                                                     | Default                                                                                                                   |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| **Color Type**        | Solid color or gradient text. **Color** and **Text Shadow** appear once a type is selected.                                             | Solid, Gradient                                                                                                     | Solid on sites that use Jupiter X global colors (new installs); on sites upgraded from older versions no type is selected |
| **Color**             | The text color. On a gradient it is the first color.                                                                                    | Color picker                                                                                                        | On new installs, the global Primary color                                                                                 |
| **Location** (first)  | Where the first gradient color starts. Gradient only.                                                                                   | %                                                                                                                   | 0%                                                                                                                        |
| **Second Color**      | The second gradient color. Gradient only.                                                                                               | Color picker                                                                                                        | #f2295b                                                                                                                   |
| **Location** (second) | Where the second gradient color ends. Gradient only.                                                                                    | %                                                                                                                   | 100%                                                                                                                      |
| **Type**              | Gradient shape. Gradient only.                                                                                                          | Linear, Radial                                                                                                      | Linear                                                                                                                    |
| **Angle**             | Direction of a linear gradient. Gradient only.                                                                                          | 0 to 360 degrees, in steps of 10                                                                                    | 180deg                                                                                                                    |
| **Position**          | Center of a radial gradient. Gradient only.                                                                                             | Center Center, Center Left, Center Right, Top Center, Top Left, Top Right, Bottom Center, Bottom Left, Bottom Right | Center Center                                                                                                             |
| **Typography**        | Font family, size, weight, transform, style, decoration, line height and letter spacing for the heading.                                | Elementor typography group                                                                                          | Not set: the theme's heading styles apply                                                                                 |
| **Text Shadow**       | Shadow behind the text. One control for solid text and a separate one for gradient text; only the one matching **Color Type** is shown. | Horizontal, Vertical, Blur, Color                                                                                   | 0, 0, 10, rgba(0,0,0,0.3) once turned on                                                                                  |
| **Alignment**         | Aligns the heading. Set per device.                                                                                                     | Left, Center, Right, Justify                                                                                        | Left (Right on right-to-left sites)                                                                                       |

### Style tab: Animated Gradient

This section is added by Jupiter X Core and is shared with sections, containers, columns, the Button and the Text Marquee (see [Animated gradient background](docs:search?q=Animated%20gradient%20background)). On the Heading it animates a moving gradient through the text. The **Animated Gradient** section sits directly after **Heading**. It needs **Animated Gradient** turned on in **Manage Elements** (on by default).

| Setting                | What it does                                                                                                                           | Options / range       | Default                   |
| ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ------------------------- |
| **Animated Gradient**  | Turns the animation on.                                                                                                                | Yes, No               | No                        |
| **Color**              | The list of colors the gradient moves through. Each new color you add starts as white (#FFFFFF). A gradient needs at least two colors. | Color list            | #F6AD1F, #F7496A, #565AD8 |
| **Direction**          | Which way the colors move.                                                                                                             | Left, Right, Up, Down | Left                      |
| **Animation Duration** | Time for one pass, in seconds.                                                                                                         | 1 to 10               | 3                         |

With a second part, the second part shares the animation unless it has its own **Color**, a gradient or classic background color, or a text shadow. In that case it keeps its own look.

### Style tab: First Part

Shown only when **Second Part** has text. Styles the title span.

| Setting                       | What it does                                                                                 | Options / range                                      | Default |
| ----------------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ------- |
| **Background Type**           | Background behind the first part.                                                            | Classic, Gradient (no image)                         | None    |
| **Color** and gradient fields | Background color and, for Gradient, the second color, locations, type and angle or position. | Elementor background controls                        | Empty   |
| **Padding**                   | Space inside the part. Per device.                                                           | px, em, %                                            | Empty   |
| **Margin**                    | Space outside the part. Per device.                                                          | px, em, %                                            | Empty   |
| **Border Type**               | Border style.                                                                                | Default, None, Solid, Double, Dotted, Dashed, Groove | Default |
| **Border Width**              | Shown once a border type is chosen.                                                          | px, em, rem, vw, custom                              | Empty   |
| **Border Color**              | Shown once a border type is chosen.                                                          | Color picker                                         | Empty   |
| **Border Radius**             | Rounds the corners. Per device.                                                              | px, %                                                | Empty   |

### Style tab: Second Part

Shown only when **Second Part** has text.

| Setting                                             | What it does                            | Options / range                   | Default                                                                                |
| --------------------------------------------------- | --------------------------------------- | --------------------------------- | -------------------------------------------------------------------------------------- |
| **Color**                                           | Text color of the second part.          | Color picker                      | Not set: the page's default heading color applies, not the **Heading** section's color |
| **Typography**                                      | Font settings for the second part only. | Elementor typography group        | Inherits                                                                               |
| **Text Shadow**                                     | Shadow behind the second part.          | Horizontal, Vertical, Blur, Color | 0, 0, 10, rgba(0,0,0,0.3) once turned on                                               |
| **Background Type** and **Color**                   | Background behind the second part.      | Classic, Gradient (no image)      | None                                                                                   |
| **Padding**                                         | Space inside. Per device.               | px, em, %                         | Empty                                                                                  |
| **Margin**                                          | Space outside. Per device.              | px, em, %                         | Empty                                                                                  |
| **Border Type**, **Border Width**, **Border Color** | Border around the second part.          | Same as First Part                | Default                                                                                |
| **Border Radius**                                   | Rounds the corners. Per device.         | px, %                             | Empty                                                                                  |

### Style tab: Ornaments

Shown only when **Ornaments** is **Show** in Settings. Rovi and Norman styles draw lines to the left and right of the heading and center it; Lemo styles draw lines above and below it.

| Setting            | What it does                                    | Options / range                                                                                                            | Default      |
| ------------------ | ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------ |
| **Ornament Style** | The decorative line pattern around the heading. | Rovi Single, Rovi Double, Norman Single, Norman Double, Norman Short Single, Norman Short Double, Lemo Single, Lemo Double | Rovi Single  |
| **Thickness**      | Line thickness.                                 | 1 to 8 px                                                                                                                  | 3 px         |
| **Color**          | Color of the lines.                             | Color picker                                                                                                               | Black (#000) |

With a second part, the ornaments wrap both parts together.

### Advanced tab

The Advanced tab has the standard Elementor options plus the Jupiter X ones. These are covered in their own articles: [Motion effects](docs:search?q=Motion%20effects%20scrolling%20and%20mouse), [Tooltip](docs:search?q=Tooltip), [Wrapper Link](docs:search?q=Wrapper%20Link), [Badge](docs:search?q=Badge), [Custom CSS](docs:search?q=Custom%20CSS%20for%20elements) and [Custom Attributes](docs:search?q=Custom%20Attributes).

## How it behaves

- The output is a wrapper `div` containing your chosen tag. The tag holds a `span.raven-heading-title`, and a `span.raven-heading-title-second` when a second part exists. A `span.raven-heading-parts` wraps both so ornaments and links cover the whole heading.
- A link wraps both parts in one `<a>`.
- Gradient text uses `background-clip: text` and makes the text fill transparent. The gradient's own text shadow is drawn on a copy of the text behind it.
- Alignment is applied with the class `elementor-align-*` (with a device prefix for tablet and mobile).
- Elementor removes unsafe HTML from titles for users without the `unfiltered_html` capability.

## Troubleshooting

### The heading does not show on the page

The widget prints nothing when **Title** is empty. Add text to **Title**, even if **Second Part** has text.

### I do not see First Part or Second Part in the Style tab

Those sections only appear when **Second Part** has text in the Content tab.

### Space Between Parts is missing

It only shows with **Parts Layout** set to **Inline** and a second part. In **Stacked** the parts are on separate lines instead.

### Gradient options are missing

Set **Color Type** to **Gradient** in **Style › Heading**. On sites upgraded from older versions, no color type is selected by default, so choose one yourself.

### Ornaments settings are missing

Turn **Ornaments** to **Show** in **Settings**.

:::faq
### Can I use dynamic content in the heading?

Yes. **Title**, **Second Part** and **Link** each have a dynamic tag button. See [Jupiter X dynamic tags](docs:search?q=Jupiter%20X%20dynamic%20tags).

### Can I make only one word a different color?

If the word comes at the end, put it in **Second Part**. Otherwise wrap it in HTML in **Title**. Second Part also lets you set its own font, background and border.

### How is this different from Animated Heading?

Heading is static text (optionally with an animated gradient fill). Animated Heading highlights, rotates or types part of its text. See [Animated Heading](docs:search?q=Animated%20Heading).
:::

## Related

:::cards{cols=3}
- [Animated Heading](docs:search?q=Animated%20Heading) icon=open-book — Text that is highlighted, rotates or types.
- [Button](docs:search?q=Button%20widget) icon=open-book — Add a call-to-action button.
- [Jupiter X dynamic tags](docs:search?q=Jupiter%20X%20dynamic%20tags) icon=open-book — Fill fields from site data.
:::
