In an Experience Builder (LWR) site, headings (H1–H6) entered in the HTML Editor component do not inherit the heading font sizes configured under Theme → Settings. The headings render at body-text size instead of the configured Theme sizes.
Symptoms-:
Headings authored in the HTML Editor component appear at the same size as body text.
Different heading levels (for example <h1> through <h6>) placed together in the HTML Editor render identically.
The same headings authored via the Text Block component do follow the Theme's heading sizes. Site-level / Theme CSS does not change the HTML Editor headings.
Cause-:
This is expected behavior. Experience Builder Theme heading-size settings only apply to components that expose a native heading property (for example, the Text Block component). The HTML Editor is a raw-HTML container that ships its own SLDS baseline styling, which sets h1–h6 to font-size: 1em. Because 1em is relative to the surrounding body font size, the headings render at body-text size and do not pick up the Theme values. This SLDS baseline also takes precedence over site/Theme-level CSS overrides.
005393600

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.