"True luxury is being able to see the world with a fresh pair of eyes. Again and Again."
Heading Size Independent of the Tag (H1–H6)
Why
The heading tag (H1, H2, H3, etc.) is for SEO and page structure, not for visual styling.
Previously, changing the heading tag also changed its size. For example, switching from H2 to H3 could turn a large heading into small body text.
Now, heading sizes are controlled by separate CSS classes, allowing you to change the HTML tag without affecting the appearance.
How to Apply
Select the Heading widget in Elementor.
On the Content tab, choose the appropriate HTML Tag (H1, H2, H3, P, etc.).
Open the Advanced tab and add a size class from the table below in CSS Classes, without the dot. For example:
ohm-fs-xl.Click Update and check the page on desktop, tablet, and mobile.
Available CSS Classes
| Class | Use for | Desktop | Mobile |
|---|---|---|---|
ohm-fs-hero | Hero banner heading | 60px | 28px |
ohm-fs-xxl | Main section heading | 52px | 28px |
ohm-fs-xl | Large section heading | 40px | 28px |
ohm-fs-l | Column or block heading | 33px | 20px |
ohm-fs-m | Medium heading | 29px | 19px |
ohm-fs-s | Card heading | 23px | 23px |
ohm-fs-xs | Small heading, contact details | 20px | 20px |
ohm-fs-eyebrow | Eyebrow above a heading, uppercase | 15px | 13px |
ohm-fs-body-l | Large introductory text below a heading | 17px | 15px |
Important Rules
Use only one size class per widget. Do not combine classes such as
ohm-fs-xlandohm-fs-l. Other existing classes (e.g.ohm-heading) can remain. Simply add the size class after a space.The CSS class overrides the widget’s styling. It takes priority over the font size, font family, and font weight configured in the Style tab. If a styling change has no effect, check whether the widget has an
ohm-fs-*class.Use only one H1 per page. This is usually the main hero heading.
Choose heading tags based on meaning, not appearance. Follow a logical hierarchy: H1 → H2 → H3, without skipping heading levels.
Use these classes on Heading widgets only. When applied to a Text Editor widget, the class changes the size of all text inside it, including paragraphs.
Below, you can see examples of each CSS class in action and how it affects the appearance of headings. Before changing the heading tags, you can compare how each heading looks and choose one of the CSS classes below to maintain the desired appearance.