"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

  1. Select the Heading widget in Elementor.

  2. On the Content tab, choose the appropriate HTML Tag (H1, H2, H3, P, etc.).

  3. Open the Advanced tab and add a size class from the table below in CSS Classes, without the dot. For example: ohm-fs-xl.

  4. Click Update and check the page on desktop, tablet, and mobile.

Available CSS Classes

ClassUse forDesktopMobile
ohm-fs-heroHero banner heading60px28px
ohm-fs-xxlMain section heading52px28px
ohm-fs-xlLarge section heading40px28px
ohm-fs-lColumn or block heading33px20px
ohm-fs-mMedium heading29px19px
ohm-fs-sCard heading23px23px
ohm-fs-xsSmall heading, contact details20px20px
ohm-fs-eyebrowEyebrow above a heading, uppercase15px13px
ohm-fs-body-lLarge introductory text below a heading17px15px

Important Rules

  1. Use only one size class per widget. Do not combine classes such as ohm-fs-xl and ohm-fs-l. Other existing classes (e.g. ohm-heading) can remain. Simply add the size class after a space.

  2. 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.

  3. Use only one H1 per page. This is usually the main hero heading.

  4. Choose heading tags based on meaning, not appearance. Follow a logical hierarchy: H1 → H2 → H3, without skipping heading levels.

  5. 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.

Hero banner heading - class ohm-fs-hero

Main section heading - class ohm-fs-xxl

Large section heading - class ohm-fs-xl

Column or block heading - class ohm-fs-l

Medium heading - class ohm-fs-m

Card heading - ohm-fs-s

Small heading, contact details - ohm-fs-xs

Eyebrow above a heading, uppercase - class ohm-fs-eyebrow

Large introductory text below a heading - class ohm-fs-body-l