Site logo

[Resolved] The update of GP Premium 2.3.-rc.2 breaks loading local fonts

Home Forums Support [Resolved] The update of GP Premium 2.3.-rc.2 breaks loading local fonts

Home Forums Support The update of GP Premium 2.3.-rc.2 breaks loading local fonts

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2577077
    Jenny Dupuy

    Hi,

    Since I updated GP Premium to 2.3.0-rc.2, the local fonts are not loading anymore.
    Same for locally hosted svg icons.

    The local fonts are called via the additional css, with this code by example:

    
    /* comfortaa-300 - latin */
    @font-face {
      font-family: 'MyComfortaa';
      font-style: normal;
      font-weight: 300;
      src: url('https://mydomain.com/wp-content/uploads/fonts/comfortaa-v40-latin-300.eot'); /* IE9 Compat Modes */
      src: local(''),
           url('https://mydomain.com/wp-content/uploads/fonts/comfortaa-v40-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
           url('https://mydomain.com/wp-content/uploads/fonts/comfortaa-v40-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
           url('https://mydomain.com/wp-content/uploads/fonts/comfortaa-v40-latin-300.woff') format('woff'), /* Modern Browsers */
           url('https://mydomain.com/wp-content/uploads/fonts/comfortaa-v40-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
           url('https://mydomain.com/wp-content/uploads/fonts/comfortaa-v40-latin-300.svg#Comfortaa') format('svg'); /* Legacy iOS */
    }
    

    and the svg icon by this code, for example:
    #nav_menu-5 h2:before{content:url(../wp-content/uploads/icones/folder.svg);}

    Is it better that I put back GP premium 2.2.2 and wait for 2.3.0?

    #2577120
    Jenny Dupuy

    Sorry, it is not GP premium the cause of this problem but a .htaccess file protecting the /uploads folder

    #2577179
    David
    Staff
    Customer Support

    No problem. Glad to hear you found the issue.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.