Make WordPress Core

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#60252 closed defect (bug) (worksforme)

Footnote

Reported by: patrickmoan's profile patrickmoan Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.4.2
Component: Editor Keywords:
Focuses: Cc:

Description

Hello WordPress.org-

When a footnote is added, the number is not displaye as a superscript. It appears to the as a number.

I have provided an attached file showing a screenshot. (I was unclear on how to use the image feature of this edior I'm using.)

Attachments (1)

WordPress Footnotes Not Displaying as Superscripts.JPG (87.5 KB) - added by patrickmoan 15 months ago.
Screenshot of Wordpress post with 3 footnotes displayed incorrectly (i.e. They shoudl be superscripts and are displayed almost as the main body of the text.)

Download all attachments as: .zip

Change History (4)

@patrickmoan
15 months ago

Screenshot of Wordpress post with 3 footnotes displayed incorrectly (i.e. They shoudl be superscripts and are displayed almost as the main body of the text.)

#1 @sabernhardt
15 months ago

  • Keywords reporter-feedback added

Hi and welcome to WordPress Core Trac!

I think this issue is because the Divi Extra theme resets sup element styles without creating its own styles. To confirm that (and/or to fix), could you go to Appearance > Customize and paste the following code in the Additional CSS? After clicking Publish, view a page with footnotes.

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}

#2 @patrickmoan
15 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

Thanks much sabernhardt! You were correct in that the DIVI theme reset sup element styles without creating new styles. When I added CSS you provided, footnotes I add are displayed correctly.

Thank so much!
Patrick

#3 @sabernhardt
15 months ago

  • Component changed from Posts, Post Types to Editor
  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted

Thanks for confirming the issue and fix!

Note: See TracTickets for help on using tickets.