,

How to Style WordPress Footnote Numbers

style wordpress footnote numbers

If you use footnotes on your WordPress site, you have probably noticed that the little numbers that appear in your text are easy to miss. By default they inherit your theme’s font size, which on many themes makes them almost invisible. A few lines of CSS can change that entirely.

This tutorial covers how to style the superscript footnote numbers that Footnotes Made Easy inserts into your post content. You do not need to be a CSS expert. Every snippet here is short, practical, and explained in plain language.

What element are we targeting?

When Footnotes Made Easy inserts a footnote number into your content, it wraps it in an HTML element. That is the standard HTML tag for superscript text. So targeting sup in your CSS is all you need to style those numbers.

Where to add your CSS

In your WordPress admin, go to Appearance → Customize → Additional CSS. Paste your CSS there and click Publish. Your changes take effect immediately and will survive theme updates.

If you are using a block theme, go to Appearance → Editor → Styles → Additional CSS instead.

Tip: How to Add Custom CSS to a WordPress Site.

Changing the font size

The most common complaint is that footnote numbers are too small. The default superscript size is usually around 75 percent of the surrounding text, which on a small body font can be nearly unreadable.

sup {

font-size: 12px !important;

}

The !important declaration ensures your rule overrides whatever the theme has already set. Without it, your rule may be silently ignored.

Changing the color

Making the footnote number a distinct color is an effective way to signal to readers that it is a clickable reference. Green, blue, and dark red are all commonly used.

sup {

font-size: 12px !important;

color: #2ba419;

}

Replace #2ba419 with any hex color that suits your site. If you are unsure what colors your theme uses, open your browser’s developer tools, click on a link in your content, and look at the color property in the Styles panel. Use the same value for a consistent look.

Removing the bold weight

Some themes render superscripts in bold by default. If you find the numbers too heavy, set the font weight explicitly.

sup {

font-size: 12px !important;

color: #2ba419;

font-weight: normal;

}

Targeting only footnote numbers specifically

The sup selector applies to every superscript on the page, not just footnote numbers. If your content uses superscripts for other purposes such as mathematical notation or trademark symbols, a broader rule could affect those too.

Footnotes Made Easy wraps its identifiers in a link with the class footnote-link inside the sup. So you can write a more specific rule like this:

sup .footnote-link {

font-size: 12px !important;

color: #2ba419;

font-weight: normal;

}

This leaves any other superscripts on the page completely untouched.

Putting it all together

Here is a complete, clean snippet you can paste directly into your Additional CSS:

sup .footnote-link {

font-size: 12px !important;

color: #2ba419;

font-weight: normal;

}

Adjust the color and size to match your theme and you are done. Your footnote numbers will now be clearly visible and visually distinct from the surrounding text, giving readers a clear signal that there is more information available.

Leave a Reply

Your email address will not be published. Required fields are marked *

Altvise WP

WordPress plugins and practical tutorials, from the team behind Footnotes Made Easy.

Footnotes Made Easy Pro

Turn footnotes into proper academic citations. APA, MLA and Chicago styles, DOI and ISBN auto-fetch, and a reusable citation library.

Get new tutorials by email

A short email when we publish something new.

No spam. Unsubscribe at any time. By subscribing you agree to our Privacy Policy.

ChemiCloud web hosting