Text formatting
Learn how to format text in your posts and chat messages.
Best practices
Generally, all text should be contained within one singular <p>
tag. Example:
New lines
To create a new line, you can use the <br>
tag. Example:
Which will render as:
Hi there! This is a message containing normal text
This is a new line!
Text sizes
OnlyFans has the following text size options:
- Largest
- Large
- Default
- Small
- Smallest
You can use them as follows:
Smallest
To create the smallest text, you can use the <span class="m-editor-fs__sm">
tag. Example:
Small
To create a small text, you can use the <span class="m-editor-fs__s">
tag. Example:
Large
To create a large text, you can use the <span class="m-editor-fs__l">
tag. Example:
Largest
To create the largest text, you can use the <span class="m-editor-fs__lg">
tag. Example:
Text styles
When using text styles like bold or italic, make sure that you wrap the text in a <span class="m-editor-fs__default">
tag. Example:
Bold
To create bold text, you can use the <strong>
tag. Example:
Italic
To create italic text, you can use the <em>
tag. Example:
Text colors
OnlyFans has three possible colors for text:
- Gray (
#8a96a3
) - Blue 1 (
#00aff0
) - Blue 2 (
#1b98e0
)
You can use them as follows:
Gray
To create gray text, you can use the <span class="m-editor-fs__default m-editor-fc__gray">
tag. Example:
Blue 1
To create blue 1 text, you can use the <span class="m-editor-fs__default m-editor-fc__blue-1">
tag. Example:
Blue 2
To create blue 2 text, you can use the <span class="m-editor-fs__default m-editor-fc__blue-2">
tag. Example: