-
AuthorPosts
-
AHMED Friend
AHMED
- Join date:
- August 2013
- Posts:
- 119
- Downloads:
- 377
- Uploads:
- 34
- Thanks:
- 20
- Thanked:
- 2 times in 1 posts
July 7, 2016 at 9:17 am #947634Hello,
The templates requests some resources from external websites and that slow the loading speed.First file/ https://www.mydomain.com/templates/ja_nuevo/offline.php
<link href=’https://fonts.googleapis.com/css?family=Open+Sans:400,600,300‘ rel=’stylesheet’ type=’text/css’>
<link href=’https://fonts.googleapis.com/css?family=Montserrat‘ rel=’stylesheet’ type=’text/css’>Second File/ https://www.mydomain.com/templates/ja_nuevo/error.php
<link href=’https://fonts.googleapis.com/css?family=Open+Sans:400,600,300‘ rel=’stylesheet’ type=’text/css’>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>Third File/ https://www.mydomain.com/templates/ja_nuevo/etc/assets.xml
https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,600italic,400italic,300italic //
https://fonts.googleapis.com/css?family=Montserrat:400,700
I downloaded them and added to my server and changed the URL to local server website but it gives missing errorsanother issue;
Resources with a “?” in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:
https://www.mydomain.com/templates/ja_nuevo/fonts/font-awesome/fonts/fontawesome-webfont.woff?v=4.2.0Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 8, 2016 at 5:17 am #947884Hi
Ahmed the files offline.php and error.php assets.xml are not from 3rd party server , they are already in your site directory .Besides this the Google fonts are defined in the template php . You can take a look on FAQ here if you would like to host the Google font on your own server .
The font is defined in the template folder /etc/assets.xml
find the code below<file>http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,600italic,400italic,300italic</file> <file>http://fonts.googleapis.com/css?family=Montserrat:400,700</file>
And the font-awesome call is defined in the
/templates/ja_nuevo/fonts/font-awesome/css/font-awesome.min.css
I am not sure about change the url will work because its same package of font awesome and it show the version of it .Hope this information help you .
AHMED FriendAHMED
- Join date:
- August 2013
- Posts:
- 119
- Downloads:
- 377
- Uploads:
- 34
- Thanks:
- 20
- Thanked:
- 2 times in 1 posts
July 8, 2016 at 10:05 am #947973Hello.
Yes, what I need is to host the fonts on my server.If it is not possible, you can guide me to use any different fonts from my server.
Thanks in advance.
Regards.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
AHMED FriendAHMED
- Join date:
- August 2013
- Posts:
- 119
- Downloads:
- 377
- Uploads:
- 34
- Thanks:
- 20
- Thanked:
- 2 times in 1 posts
July 8, 2016 at 11:20 am #948014Hi.
I am asking about configuation of template not about awesome.What about if i delete the mentioned code lines? In case you can’t host them on own server.
Does it affect website or it will use other default fonts types ?
Regards.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 11, 2016 at 1:15 am #948585Hi
template use the fonts icon from the font awesome .
deleting the font awesome code may or may not effect the site icons . You can take a try after removing the code .Besides , you can ask on font awesome community for its removal , as the method is used in this template to load the font awesome icons .
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum