Skip to content

What's the process for adding additional tailwind utility expressions? #85

Answered by jpanther
rshmhrj asked this question in Q&A
Discussion options

You must be logged in to vote

This is something that I think I should write some proper documentation for but I'll try to explain by using the process for my own website which also relies on additional Tailwind classes that aren't part of the core theme CSS. I'll expand the scope of my response to be broader than your specific example in the hope this answer helps others so I apologise if some of this comes across as rudimentary.

The problem

I want to use standard Tailwind CSS classes to add additional functionality to my website but when I add these classes to my layout files or Markdown content, they are not being applied.

Why this happens

Although it may seem counterintuitive this is the expected behaviour. Tailwin…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@rshmhrj
Comment options

rshmhrj Feb 2, 2022
Author Sponsor

@jpanther
Comment options

@rshmhrj
Comment options

rshmhrj Feb 7, 2022
Author Sponsor

@jpanther
Comment options

Answer selected by rshmhrj
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