Webflow sync, pageviews & more.
NEW

How can I decrease the size and weight of ™ and ® symbols in my headings in Webflow, and raise them to match my mockup? Is there a way to automatically make these symbols thinner, smaller, and raised?

TL;DR
  • Wrap ™ and ® symbols in a span within headings and assign a class like superscript-symbol.
  • Style the span with smaller font size, lighter weight, and vertical offset; optionally use custom JavaScript to automate this across all headings.

To match your design mockup in Webflow, you want to reduce the size, lighten the weight, and raise the vertical position of and ® symbols in headings. This can be done using custom spans and styling.

1. Wrap Symbols with Span Elements

  • Select your heading element on the canvas.
  • Highlight the or ® symbol within the heading text.
  • Click the + icon (Wrap in Span) in the text editing toolbar to wrap it in a span.

2. Add a Class to the Span

  • With the span selected, add a class like superscript-symbol to the span.
  • This gives you full control over styling separate from the main heading text.

3. Style the Symbol Span

  • In the Style panel, apply these adjustments to make the symbol smaller, thinner, and raised:
  • Font Size: Set a smaller value (e.g., 60–70% of the heading size).
  • Font Weight: Choose lighter weight (e.g., 300 or normal).
  • Position: Set to Relative.
  • Top or Bottom: Use bottom: 0.2em to 0.4em to raise the symbol vertically.
  • Line Height: Leave it unchanged unless spacing issues arise.

4. Automate Symbol Styling with Custom Code (Optional)

If you want all ™ and ® symbols within headings to automatically appear styled without manual spans:

  • Go to Page Settings > Custom Code > Before tag.

  • Add this inline script to wrap those characters in spans dynamically:

    Without using <script> tags here per guidelines, the idea is:
    Use JavaScript to select heading elements and wrap ™ or ® in a <span class="superscript-symbol">.

Note: This needs custom JavaScript and should be approached carefully to avoid altering symbols in undesired places (e.g., in body text or logos). Always test thoroughly.

Summary

To style ™ and ® symbols in headings on Webflow:

  • Wrap the symbols in a span element.
  • Assign a class and apply smaller font size, lighter font weight, and slight vertical adjustment.
  • For automatic global styling, add custom JavaScript to detect and wrap these characters, then use CSS styles on the span class.

This approach allows consistent, mockup-accurate presentation of trademark and registered symbols across your headings.

Rate this answer

Other Webflow Questions