# How to hide the tagline in WordPress themes

URL: https://wp24x7.com/how-to-hide-tagline-in-twenty-twenty-theme-wordpress/
Updated: 2026-11-29
Type: blog post
Audience: WordPress site owners and theme developers

> The tagline set under Settings, General is the short line under your site title. To hide it, use the theme's own setting if it has one, remove the Site Tagline block in a block theme, or clear the field. Use CSS only if you want to keep the text for other places. This guide covers Twenty Twenty, Twenty Twenty-One, block themes and other themes, with CSS that survives updates.

## Key facts

- For: owners and developers who want the tagline hidden
- Twenty Twenty-One: a Customizer toggle under Site Identity
- Twenty Twenty: empty the tagline, or hide .site-description with CSS
- Block themes: remove the Site Tagline block in the Site Editor
- Keep changes safe: use Additional CSS or a child theme, not the parent's style.css
- Page title: hiding in the header does not change the title tag

The tagline, set under **Settings, General**, is the short line under your site title. Some designs show it by default. **The cleanest ways to hide it are, in order: use the theme's own setting if it has one, remove the Tagline block in a block theme, or clear the field.** Use CSS only if you want to keep the text for other places.

> **Quick answer**
Twenty Twenty-One: Customize, Site Identity. Twenty Twenty: empty the tagline or hide `.site-description`. Block themes: remove the Site Tagline block in the Editor. Always use Additional CSS or a child theme, and back up before editing templates.

## Which theme am I on?

Check **Appearance, Themes**. Twenty Twenty and Twenty Twenty-One are classic themes, edited in the Customizer. Twenty Twenty-Two and newer default themes are block themes, edited in the Site Editor. If **Appearance** shows **Editor** instead of **Customize**, you have a block theme.

## How do I hide it?

### Twenty Twenty-One
This theme has a switch:

1. Go to **Appearance, Customize, Site Identity**.
2. Untick **Display Site Title** or the tagline option, depending on version. In Twenty Twenty-One a single option controls whether the title and tagline show in the header.
3. Click **Publish**.
### Twenty Twenty
This classic theme has no toggle, so use one of two routes.

**Option A: empty the tagline.** In **Settings, General**, delete the text in **Tagline** and save. The drawback is that the tagline is gone everywhere, including feeds and the default title.

**Option B: CSS.** Go to **Appearance, Customize, Additional CSS**, add the rule below and click **Publish**:

```css
.site-description {
	display: none;
}
```

Twenty Twenty prints the tagline in an element with that class. If the line is still visible, right-click, **Inspect**, and use the class name you find.
### Block themes
Block themes build the header from blocks, so no CSS is needed:

1. Open **Appearance, Editor**, then **Patterns** or **Templates** and the **Header** template part.
2. Select the **Site Tagline** block.
3. Open the block's menu (three dots) and choose **Remove Site Tagline**, or use the Delete key.
4. Click **Save**.

The edit applies to every page using that header. If the tagline is also in the home or footer template, remove it there too.

## What if my theme is neither?

Many commercial themes and page builders put a switch in their own options. Look in **Appearance, Customize, Header**, or the theme's options panel, for "tagline", "site description" or "show tagline". Builders such as Elementor and Divi show the tagline through a widget or module you can delete. When you use CSS, put it in a child theme's stylesheet or the Additional CSS box, which survive updates; editing the parent theme's `style.css` loses your changes. See [setting up a child theme](/how-to-properly-set-up-child-theme).

## Should I use display none or hide it visually?

`display: none` removes the element for everyone, including screen readers, which is fine for decoration. If the tagline gives useful context to people using assistive technology, hide it visually but keep it available:

```css
.site-description {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
```

This is the technique behind WordPress's own `.screen-reader-text` class, so in many themes you can add that class instead. Whether to keep it is a design choice, not an SEO trick, and search engines may treat hidden text with suspicion if it is stuffed with keywords, so keep any hidden tagline short and honest.

## Does hiding the tagline change my page title?

It may not. The tagline is also used in the browser title on the home page in many themes, as "Site name – Tagline", and SEO plugins have their own title templates. Hiding it in the header with CSS leaves the `<title>` as it was. Clearing the field removes it from both. To change titles on purpose, see your SEO plugin's templates, as in [using the pipe separator in Yoast SEO](/add-separator-options-back-in-yoast-seo-plugin).

_The tagline sits under the site title in the header_

## What common problems come up?

| Problem | Cause and fix |
|:--|:--|
| The CSS has no effect | A cache is serving the old stylesheet, or the selector is wrong; clear plugin and CDN caches, or inspect the element |
| The tagline shows only on mobile | The header uses a separate mobile template or class; inspect at phone width |
| The change vanished after an update | It was made in the theme's files; move it to Additional CSS or a child theme |
| Space remains where the tagline was | Margins on the header wrapper still apply; adjust the container's padding |

## How do I check it worked on every device?

Test the home page, an inner page and the mobile view in responsive mode or on a real phone, since some themes show the tagline in the mobile menu in a separate element. Check with the page cache cleared, in a private window. If the tagline appears in the footer or a menu, those are separate elements needing their own change.

## Which method for which theme?

| Theme type | Best method |
|:--|:--|
| Twenty Twenty-One | Customizer, Site Identity |
| Twenty Twenty | Empty the tagline, or hide `.site-description` with Additional CSS |
| Block theme | Remove the Site Tagline block in the Site Editor |
| Commercial theme or page builder | The theme's own option, or delete the tagline widget or module |

**Want a header that is not a patch on a stock theme?**
A custom layout, sticky bar or mobile menu, built properly.
[Theme development](/wordpress-theme-development)
[Customization services](/wordpress-customization-services)

## Frequently asked questions

### Is hiding the tagline with CSS bad for SEO?

Not in itself, but the tagline also feeds your home page title in many setups. If you never want it shown anywhere, emptying the field is cleaner than hiding it.

### Where do I add CSS so a theme update does not remove it?

Use Appearance, Customize, Additional CSS, the Site Editor's Additional CSS, or a child theme stylesheet. Do not edit the theme's own style.css.

### Why does the tagline still show in browser tabs or search results?

The title tag can include the tagline separately from the visible header. Check your SEO plugin's title template.

### How do I know if I have a block theme?

Check Appearance. If it shows Editor instead of Customize, you have a block theme. Twenty Twenty and Twenty Twenty-One are classic themes, and Twenty Twenty-Two and newer defaults are block themes.

### The CSS rule has no effect. Why?

A cache may be serving the old stylesheet, or the selector is wrong. Inspect the element in your browser and use the class name you find, since other themes use names such as .tagline or .site-tagline.

### What is the difference between display none and visually hiding?

display none removes the element for everyone, including screen readers. A visually hidden technique keeps it available to assistive technology. It is a design choice, not an SEO trick.

### Can hidden text hurt my search visibility?

Search engines may treat hidden text with suspicion if it is stuffed with keywords, so keep any hidden tagline short and honest.

### The tagline shows only on mobile. What now?

The header may use a separate mobile template or class. Inspect the page at phone width and target that element.

### My change vanished after a theme update. Why?

It was made in the theme's own files. Move it to Additional CSS or a child theme so it survives updates.

### There is empty space where the tagline was. How do I remove it?

Margins on the header wrapper are still applied. Adjust the padding or margin on the container.

### My theme is a commercial theme or uses a page builder. What do I do?

Look for a tagline or site description switch in Appearance, Customize, Header or the theme's options panel. Builders such as Elementor and Divi show the tagline through a widget or module you can delete.

### Can you build a custom header?

Yes. Our theme developers can build a custom layout, sticky bar or mobile menu, and our customization team can handle smaller visual fixes.
