test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • AHMED Friend
    #947634

    Hello,
    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 errors

    another 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.0

    Pankaj Sharma Moderator
    #947884

    Hi
    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 Friend
    #947973

    Hello.
    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 Moderator
    #947992

    Hi
    You can ask the question on font awesome community here for this .
    I am not sure about others who offer no backlink services for this .

    AHMED Friend
    #948014

    Hi.
    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 Moderator
    #948585

    Hi
    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 .

Viewing 6 posts - 1 through 6 (of 6 total)

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