Two people walking up a wide indoor staircase.

UW Heading Highlight

Last updated:

The UW Heading Highlight adds a Badger Red or white background behind each line of a heading text when it appears inside a Cover block. Use it to give a short, important message stronger visual emphasis over a background image.

The treatment works best in homepage and landing-page hero sections.


When to use heading highlight

Use the UW Heading Highlight on homepage or landing-page hero images to help a primary heading stand out.

Because the heading highlight creates strong visual emphasis, use it for the most important heading in a hero section rather than repeating it throughout the page.

Red circle with slash through it

Don’t do this

Don’t use the heading highlight on multiple sections of the same page. This can make the sections compete for attention.

Research homepage using highlighted headings in both the hero and a supporting section.
Green check mark

Do this

Use the heading highlight for the primary hero message, then use standard heading styles for supporting sections.

Research homepage with a highlighted hero heading and standard headings for supporting sections.

Start with a banner pattern

The easiest way to use the heading highlight is to start with the available UW Theme banner pattern.

  1. Select the + button in top toolbar of the editor to open the block inserter.
  2. Select the Patterns tab
  3. Select Banners
  4. Choose the banner pattern that uses the UW Heading Highlight
  5. Replace the example text, image and other content with your own

Starting with the pattern gives you a ready-made layout and reduces the number of design decisions you need to make.

WordPress pattern inserter showing the Banners category and a selected heading highlight pattern.

Enable heading highlight

The UW Heading Highlight is only available for Title and Heading blocks when they are placed inside a Cover block.

To enable this setting, follow the steps below:

  1. Select the Title or Heading block inside the Cover block
  2. Open the block settings sidebar
  3. Find UW Heading Highlight
  4. Turn on Enable heading highlight
  5. Select Badger Red or White as the highlight color
UW Heading Highlight settings with the highlight enabled, white selected, and shadow turned off.

Drop shadow

Turn on Add shadow if the heading highlight needs more separation from the background image. Refer to the Improve heading contrast section for guidance on when to use shadow.

Color options

Choose the heading highlight color based on the area of the image behind the heading.

Badger Red

Badger Red works best over light or neutral areas where the highlight is clearly distinct from the background.

Avoid using it over large areas of red or similar colors, where the highlight can begin to blend into the image.

White text on a red highlight over a light photograph of laboratory glassware.

White

White works best over darker areas where the edge of the highlight remains easy to distinguish.

Avoid placing it over very light areas of an image, where the white background can blend into the photo.

Red text on a white highlight over a photograph of a UW–Madison building.

Choose a background image

Choose a background image that gives the heading clear visual separation and keeps the message easy to read.

Look for images with:

  • Simple or more abstract compositions
  • A clear, uncluttered area where the heading can sit
  • Enough space around people and other important parts of the image
  • Colors that don’t blend in with the heading highlight
  • A composition that still works when the image is resized on smaller screens
Red circle with slash through it

Don’t do this

Don’t choose close-up or highly detailed images where the heading would cover important parts of the photo, such as faces.

Highlighted heading covers people in a close-up photograph of a snowy campus scene.
Green check mark

Do this

Choose wider, more environmental photos with enough open space for the heading to stand out without competing with the image.

Highlighted heading placed in open sky above a snowy campus scene, leaving the main subjects visible.

Heading best practices

Keep highlighted headings short, easy to scan, and visually distinct from buttons or other interactive elements.

Heading length

The heading highlight works best with short, focused messages. Aim for about 5–8 words that fit comfortably on one or two balanced lines.

Red circle with slash through it

Don’t do this

Don’t create headings that are so short they look like a button, or so long that they create more than two highlighted lines.

Single-word highlighted heading, “Flamingos,” that resembles a button.
Green check mark

Do this

Keep headings concise so they fit comfortably within one to two highlighted lines.

Descriptive two-line highlighted heading above a separate “Join Fill the Hill” button.

Font size

Use a font size between font sizes 2xl and Jumbo 2. Smaller sizes can make the highlighted text look more like a button, while larger sizes can overwhelm the image.

Choose a size that gives the heading enough emphasis without creating awkward line breaks.

Font size and heading level are different. Choose the heading level based on the structure of your page for accessibility, then adjust the font size separately.

Visit the Working with page titles and heading guide for more information.

Font size menu showing the recommended size options from 2XL through Jumbo 2.

Keep the text in the UW Heading Highlight as plain heading text. Do not add a link to the highlighted heading.

If the hero needs a call to action, add a separate Buttons block below the heading instead.

This keeps the heading visually distinct from interactive elements and makes it clearer what users can select or click.

Red circle with slash through it

Don’t do this

Don’t make the highlighted heading itself a link.

Delivery robot hero with an underlined, linked heading and no separate button.
Green check mark

Do this

Keep the highlighted heading as text, then provide a separate button.

Delivery robot hero with a plain-text highlighted heading and a separate “Learn about the robots” button.

Position the heading carefully

Place the heading where it does not cover important parts of the background image.

Use the Cover block’s content position controls in the block toolbar to move the heading to a clearer area of the image.

Refer to the UW Theme Cover block documentation for guidance using this block.

If needed, adjust the image focal point so important content stays visible when the image is cropped or resizes on smaller screens.

Use the View feature in WordPress to preview your layout on Mobile and Tablet.

Red circle with slash through it

Don’t do this

Don’t place heading over:

  • Faces or people
  • Important objects or subjects
  • Signs or text within the image
  • Detailed or visually busy areas
Highlighted heading covers the mascot’s face in a close-up photograph.
Green check mark

Do this

Look for areas with more open space, such as:

  • Sky
  • Plain walls or architectural surfaces
  • Open landscape
  • Less detailed areas beside the main subject
Highlighted heading positioned to the left of the marching band’s boots, leaving the main subject visible.

Improve heading contrast

Use an image overlay

Use the Cover block’s color overlay settings to darken the background image when needed.

A black overlay with 20-30% opacity is a useful starting point. You can also try the Cover block’s default gradient overlays, which allow more of the image’s original colors to show through.

Adjust the overlay so the heading remains easy to read without making the image unnecessarily dark.

Use a drop shadow

If the heading highlight still blends into the background after adjusting the image overlay, try turning on Add shadow in the UW Heading Highlight settings.

A shadow can be especially helpful when using a white highlight over a light or varied image.

You may not need both settings. Choose the combination that makes the heading highlight stand out clearly without unnecessarily darkening the image.

Get more help

WiscWeb sites

If your UW Theme 2.0 site is hosted in the WiscWeb WordPress Service, contact their support team for help.

Non-WiscWeb sites

If you manage or develop a custom
UW Theme 2.0 site outside of WiscWeb, email the UW Theme team.

Weekly Office Hours

Get one-on-one help with design, accessibility, and WordPress in weekly office hours.

Not sure who to contact? Email the UW Theme Team or find additional resources.