Skip to content

How to color block of text #454

Answered by welpo
stalkerGH asked this question in Q&A
Dec 30, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You'll need to use HTML and load custom CSS.

For example, in your article:

This <span class="blue">is blue</span>

And load CSS:

.blue {
    color: blue;
    font-weight: bold;
}

Or… you could disable CSP/allow inline styles and do something like:

<p style="color: blue; font-size: 20px; text-align: center;">
    This is a paragraph with inline styles.
</p>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@stalkerGH
Comment options

Answer selected by stalkerGH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants