Tailwind in a Classic Theme
posted by Tomás Vidal
September 5, 2026
Tailwind works in a classic WordPress theme as long as the content paths are right.
Getting the paths right
We checked every page at 390 pixels wide before calling it done. Phones are where layouts break first, and where most of our readers are.
- Include every template folder
- Include functions.php for walkers
- Rebuild after adding a class in PHP
It is tempting to add one more variation. Resist it. Every option you add is one more thing to test, document and eventually delete.
If a class lives in PHP and the config does not scan it, it does not exist.
Our rule of thumb: if we cannot explain a choice in one sentence to a client, we probably should not ship it.
4 thoughts on “Tailwind in a Classic Theme”
I would add one thing: check it in dark mode too.
Agreed, this is how we do it too.
Our designers pushed back at first, but the results convinced them.
Agreed, this is how we do it too.