troubleshooting Question

Please explain this CSS

Avatar of Member_2_7970041
Member_2_7970041 asked on
JoomlaCSSHTMLPHP
5 Comments1 Solution258 ViewsLast Modified:
Hello!

I've noticed this code when I viewed page source:

<link rel="stylesheet" href="css:style.css" />

It doesn't make sense to me, 'cos it's NOT a valid URL to an external CSS file. The developer said something like this:
"It is reserved for the file > css/custom.css"

They also said:

The missing URL for the custom.css depends on the php code to include the css file.
If there is no css file to load, the code is blank"
>> layouts/theme.config.php

$this->addFile('css', 'css:custom.css');

I found this line of PHP code in template.config.php

$this['asset']->addFile('css', 'css:custom.css');
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros