Joomla is not creating CSS file anymore

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
iMilazzo
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Fri May 25, 2012 1:38 am

Joomla is not creating CSS file anymore

Post by iMilazzo » Wed Jan 15, 2020 8:36 pm

Hi!

Well, for some reason my Joomla is not creating the CSS files anymore and I don't know what did I do.
Now my php pages are loading like this:

Code: Select all

<link href="/templates/protostar/less/template.less" rel="stylesheet/less" type="text/css">
<style type="text/css" id="less:templates-protostar-less-template">@media -sass-debug-info{filename{font-family:file\:\/\/https\:\/\/***********\.com\/media\/jui\/less\/reset\.less}line{font-family:\0000310}}
article,
aside,
details,
figcaption,
figure,
footer,
header,
...
The "********" I'm just hiding the address of the website.

How to turn back to CSS file? I mean, how to turn this off and load separate files?

Thanks
Ivan

User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 5226
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Joomla is not creating CSS file anymore

Post by AMurray » Wed Jan 15, 2020 9:41 pm

Not much information to actually understand what the problem is.

Could this help: https://docs.joomla.org/Joomla_LESS

Someone who understands the Protostar template may chime in with some advice.
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 5226
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Joomla is not creating CSS file anymore

Post by AMurray » Wed Jan 15, 2020 9:42 pm

Is this causing your site to simply not load?

Can you reinstall the system core files for your current Joomla version - through Joomla Update? There should be an orange button labelled "Reinstall Core Files" (or to that effect).
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

iMilazzo
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Fri May 25, 2012 1:38 am

Re: Joomla is not creating CSS file anymore

Post by iMilazzo » Thu Jan 16, 2020 6:48 pm

I've found what it is: the System - Less Compiler, it makes the styles be compiled inside the html pages instead a separated css file.

Thanks
Ivan


Post Reply

Return to “Templates for Joomla! 3.x”