diff --git a/CHANGELOG.md b/CHANGELOG.md index 4da8c7a3a..000b72fa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Update target platforms to match Joomla 4.3 and up (#3170) - Login forms css styling bugfixes (#3185) - Register forms css styling bugfixes (#3185) + - Fix for Joomla 5.x debug css (#3190) # 5.5.16 ## 03/31/2023 diff --git a/engines/joomla/nucleus/twig/partials/page_head.html.twig b/engines/joomla/nucleus/twig/partials/page_head.html.twig index d7242e045..16a08adf3 100644 --- a/engines/joomla/nucleus/twig/partials/page_head.html.twig +++ b/engines/joomla/nucleus/twig/partials/page_head.html.twig @@ -34,7 +34,10 @@ {% endif %} {% if gantry.theme.joomla %} - {% if gantry.platform.checkVersion(4) %} + {% if gantry.platform.checkVersion(5) %} + {# Joomla 5.x #} + + {% elseif gantry.platform.checkVersion(4) %} {# Joomla 4.x #} {% elseif gantry.platform.checkVersion(3) %}