End of Support for Joomla 3 - Forum closed

[SOLVED] An error in css link

An error in css link was created by mskubieva

Posted 8 years 2 months ago #15137
Hello!

I think there's an error in css link here:

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

You see it when you check the source code. So please let me know if it is an error and if it is, then how it can be corrected.
And if it's not an error, then what is it then?

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic An error in css link

Posted 8 years 2 months ago #15141
It is reserved for the file > css/custom.css
You can create an empty custom.css to solve the problem.
Here is a video, how to create a custom.css
www.joomlaplates.com/support/documentation/custom-css-in-joomla

Please Log in or Create an account to join the conversation.

Replied by mskubieva on topic An error in css link

Posted 8 years 2 months ago #15144

joomlaplates wrote: It is reserved for the file > css/custom.css
You can create an empty custom.css to solve the problem.


I know about custom.css, I just don't understand the connection. Normally, external CSS files can be opened and have a valid URL. Here it's different and therefore, unusual. It's not a problem to be solved for as long as it's the way it should be. Is it?
Please explain in short if you don't mind.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic An error in css link

Posted 8 years 2 months ago #15148
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');

Last Edit:8 years 2 months ago by joomlaplates
Last edit: 8 years 2 months ago by joomlaplates.
The following user(s) said Thank You: mskubieva

Please Log in or Create an account to join the conversation.

Replied by mskubieva on topic [SOLVED] An error in css link

Posted 8 years 2 months ago #15152
Problem solved.

Please Log in or Create an account to join the conversation.

Replied by mskubieva on topic [SOLVED] An error in css link

Posted 8 years 2 months ago #15153
Okay, thanks for explanation! Though it's beyond my level of understanding (I'm not a coder), but as long it's OK and everything is fine, then I guess it's not something to worry about.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License