superscript-symbol
.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.
superscript-symbol
to the span.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.
To style ™ and ® symbols in headings on Webflow:
This approach allows consistent, mockup-accurate presentation of trademark and registered symbols across your headings.