-
AuthorPosts
-
Alice Ching Friend
Alice Ching
- Join date:
- September 2014
- Posts:
- 84
- Downloads:
- 8
- Uploads:
- 13
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
March 6, 2014 at 9:44 pm #195546Hi I see a invalid css link in my site’s sourcecode. What is the reason for placing it and how do I remove this line? Our developer has requested to do this, please tell me which file to edit.
<link rel=”stylesheet” href=”/ja_university/.” type=”text/css” />
Thank you very much.
Hayden A FriendHayden A
- Join date:
- April 2010
- Posts:
- 282
- Downloads:
- 0
- Uploads:
- 20
- Thanked:
- 54 times in 53 posts
March 7, 2014 at 8:47 am #525775Please send me URL and if possible, FTP credentials of your site. I will have a closer look.
By default, you will see css file loaded via files below:
In file ja_university/etc/layouts/default.xml:
[PHP]<stylesheets>
<file>css/template.css</file>
<file media=”only screen and (max-width:719px)”>css/layout-mobile.css</file>
<file media=”only screen and (max-width:479px)”>css/layout-mobile-port.css</file>
<file media=”only screen and (min-width:720px) and (max-width: 985px)”>css/layout-tablet.css</file>
</stylesheets>[/PHP]and in the file ja_universityinfo.xml:
[PHP]<stylesheets>
<file>css/typo.css</file>
</stylesheets>[/PHP]Alice Ching FriendAlice Ching
- Join date:
- September 2014
- Posts:
- 84
- Downloads:
- 8
- Uploads:
- 13
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
March 7, 2014 at 6:21 pm #525835Hi,
Sorry we do not give out FTP credentials. But <link rel=”stylesheet” href=”/ja_university/.” type=”text/css” /> is taken directly from your demo site. Please take a look at your demo files.
http://joomla-templates.joomlart.com/ja_university/
Also I don’t see this line in those two xml files. This must be a some sort of mistyped code, because I don’t see this line in other joomlart joomla template.
Thank you.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 10, 2014 at 7:43 am #526018<blockquote>
<link rel=”stylesheet” href=”/ja_university/.” type=”text/css” />
</blockquote>
Please find and remove /media/jui/css/chosen-sprite.png file, the problem on your site should be fixed then.Alice Ching FriendAlice Ching
- Join date:
- September 2014
- Posts:
- 84
- Downloads:
- 8
- Uploads:
- 13
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
March 10, 2014 at 5:35 pm #526124I am still seeing this line in your demo site’s source code which is exactly what I see in my site, and it is still an invalid code:
<link rel=”stylesheet” href=”/.” type=”text/css”/></blockquote>
http://ja-university.demo.joomlart.com/
I removed the png already, cleared joomla and browser cache, but no use. Do you have another solution?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 12, 2014 at 4:42 am #526402<em>@vertex615 415629 wrote:</em><blockquote>I am still seeing this line in your demo site’s source code which is exactly what I see in my site, and it is still an invalid code:
http://ja-university.demo.joomlart.com/
I removed the png already, cleared joomla and browser cache, but no use. Do you have another solution?</blockquote>
Thanks for your report, we will fix this on JA University Demo soon. For now, you can apply a quick fix below:
Open the templates/ja_university/blocks/head.php file
Change:
<?php JHTML::stylesheet ('', 'templates/system/css/system.css') ?>
<?php JHTML::stylesheet ('', 'templates/system/css/general.css') ?>
To
<?php JHTML::stylesheet ( 'templates/system/css/system.css') ?>
<?php JHTML::stylesheet ( 'templates/system/css/general.css') ?>Alice Ching FriendAlice Ching
- Join date:
- September 2014
- Posts:
- 84
- Downloads:
- 8
- Uploads:
- 13
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
March 14, 2014 at 5:31 pm #526763That fixed it. Thanks.
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by Alice Ching 10 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum