Using PurgeCSS with Joomla 4

How to use PurgeCSS CLI with Joomla 4 to remove unused css classes and significantly reduce the size of your stylesheet.

Joomla 4 Templating. Part 1: The Manifest

We begin with the manifest file for an installable Joomla 4 template called simple. We'll use google fonts and bootstrap.

Joomla 4 Templating. Part 2: Language

We set up the language files for the simple template. We'll also look at how to set up multiple languages.

Joomla 4 Templating. Part 3: Web Asset Manager

Joomla 4 introduced the Web Asset Manager. We take a look at how and why to use it for templating.

Joomla 4 Templating. Part 4: Templating index.php

We prepare and layout the main template page for Joomla which is index.php and include a favicon and search module.

Joomla 4 Templating. Part 5: Templating error.php

We prepare and layout the error template page for Joomla using a small custom stylesheet, image and link to homepage.

Joomla 4 Templating. Part 6: Templating component.php

We do a basic layout for Joomla's component template, component.php. We go through how to add a print css stylesheet.

Joomla 4 Templating. Part 7: Installable Template

In this final article on Joomla 4 templating, we create the installable simple template which you can download and use.