Typographie in HTML

Is it possible that the font and font colour are not being transferred to an HTML block?

I have my own colour scheme, but it doesn’t seem to be working here.

See also Innovation PRAXIS - Shop .

Unfortunately, this beautiful orange does not match the desired colour scheme.

What have I done wrong? Thanks for some good ideas!

You’ll need to apply the correct typography tags or Tailwind colour…

If you’re using Typography you can wrap your custom component content in an article/div tag and apply the prose class, like this:

<article class="prose prose-article w-auto h-auto"> 
 <p>My HTML Element</p>
</article>

Alternatively you can just use the Tailwind Colour reference text-orange-600 in the HTML, like this:

<div class="text-lg text-orange-600">
    My HTML Element
</div>
1 Like